Menu

#4 can't login as Anonymous from Android + double free() error

v1.0 (example)
open
nobody
None
5
2014-12-11
2014-12-11
arrange
No

Hello,

I'm using tinyftp to upload/download files to/from my Android devices to the computer. I'm sending a few patches if you want to take a look at them:

Problem number 1:
- ES File Explorer on Android sends "USER Anonymous", which is not recognized by tinyftp as it is case sensitive; I changed strcmp() to strcasecmp().

Problem number 2:
- in some cases the process stopped with double free() error. I noticed you free() a local (non-heap) variable in a few places, so I removed those.

The patches are in the attachment.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.