Changes:
Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.0
- Added more checks to places where we are mapping a file
or checking for symbolic links. Should avoid trying to
operating on invalid path names or broken symlinks.
Issue reported by Xu.
Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.9
- Several checks added to chdir() and other
return codes to make sure syscalls are all returning
properly. Patch provided by Zhouyang Jia.
- Fixed some compiler warnings due to unused or
oddly indented code.
Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.8
- Fixed potential double-free bug during Bftpd shutdown.
- Fixed potential unititalized variable.
Thanks to Alex for reporting these bugs.
Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.7
- Fixed memory leak in rename function.
Thanks to Alex for reporting this bug.
Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.6
- Avoid memory corruption when reading config file by initalizing memory.
- Make sure CHROOT is default option, even if it is not specified
in the config file.
Thanks for Anton Yuzhaninov for providing the above two fixes.
Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.5
- Avoid potential buffer underflow in main.c
Thanks to Andreas for pointing out this problem.