can't login as Anonymous from Android + double free() error
Status: Alpha
Brought to you by:
kirov
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.