[15232] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: 8.1.x: ftpd

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Jul 6 20:05:10 1997

Date: Sun, 6 Jul 1997 20:05:04 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: "Richard Basch" <basch@lehman.com>
Cc: testers@MIT.EDU, bugs@MIT.EDU
In-Reply-To: "[15231] in Athena Bugs"

> Apparently, the Athena ftpd core dumps when it receives a request in
> the following format:

> 	LIST -d file

ftpd will generally free non-heap memory in ftpd_popen(), unless you
get really lucky.  If you do it enough, it will dump core.

The code in that area is truly awful as far as keeping track of who
owns what pieces of memory.  I have a patch which "fixes" the bug but
leaves behind a memory leak; I will submit that on the assumption that
the current ftpd source base will be scrapped in favor of something
like the krb5 ftpd in the future.

home help back first fref pref prev next nref lref last post