History log of /haiku/src/bin/network/ftpd/ftpd.c
Revision Date Author Comments
# 925f9125 05-Aug-2021 Coldfirex <sakison@gmail.com>

FTPD: Pull in various commits from upstream

Our version is from roughly 4-2007.

Brought in the following commits that appeared relevant to code improvements and fixes.:

https://github.com/freebsd/freebsd-src/commit/f0b40b1c97b2efe9f22af5d63ec6c62c55804a43#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1
https://github.com/freebsd/freebsd-src/commit/d56cc5591766aeb662eb92411d2a0ee3c0972997#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1
https://github.com/freebsd/freebsd-src/commit/763e8c9623f8ac3c6d075ccb3d22afa8730afa19#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1
https://github.com/freebsd/freebsd-src/commit/62f390ecd9a37534b6e237215e5597e019ea718a#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1
https://github.com/freebsd/freebsd-src/commit/6e4fcca0f87bb7d0f80934881ddd68dbd57fbcbf#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1
https://github.com/freebsd/freebsd-src/commit/69097cd8da7e52567dd83f0242cf5431c6783fe8#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1
https://github.com/freebsd/freebsd-src/commit/3c0c1e01c9c55aa0ef5bec9a4612d1ce68dd76da#diff-ccb7a49e05dd2061a0b3ac926212bc5aebe5afd09bbefc8658ba57d8b79827a1

Change-Id: If44f58950513ebe1fecc2f482ea954fe49263677
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4321
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 64897ae7 16-Jul-2021 Coldfirex <sakison@gmail.com>

FTPD: va_list 'ap' was opened but not closed by va_end()

as pointed out by cppcheck

Notified upstream FreeBSD of issue. They realized this was dead code and ripped out. Syncing those specific changes only.

https://github.com/freebsd/freebsd-src/pull/517
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257317
https://cgit.freebsd.org/src/commit/?id=674400eb20b65369a88b1cb778d729bc297832c9

Change-Id: I4951fa3ce42798895a8222d927067640267d0bbc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4214
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# f1c26ec6 04-Oct-2010 Axel Dörfler <axeld@pinc-software.de>

* ftpd had a function getline() with non standards compatible parameters.
* This fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38881 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc3955fe 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dcc38394 24-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Check the shadow password under Haiku, when available. ftpd works again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25129 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04819365 03-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Ported FreeBSD's ftpd to Haiku.
* Added it to the image, and configured it to be used.
* Currently, it cannot transfer files over 64 KB for some reason
("Message too long").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23843 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f1c26ec658ce0f010264c8e71fd58aa22697c5cc 04-Oct-2010 Axel Dörfler <axeld@pinc-software.de>

* ftpd had a function getline() with non standards compatible parameters.
* This fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38881 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc3955fea5b07e2e94a27fc05e4bb58fe6f0319b 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dcc3839464e857d537b94ddc4694c3ef406c62c4 24-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Check the shadow password under Haiku, when available. ftpd works again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25129 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0481936536a9c02bd68cf3ac412e4d881dd255e5 03-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Ported FreeBSD's ftpd to Haiku.
* Added it to the image, and configured it to be used.
* Currently, it cannot transfer files over 64 KB for some reason
("Message too long").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23843 a95241bf-73f2-0310-859d-f6bbb57e9c96