Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 08/14/1997 02:10:03
lukem
Wed Aug 13 19:06:18 PDT 1997
Update of /cvsroot/src/libexec/ftpd
In directory netbsd1:/var/slash-tmp/cvs-serv10547
Modified Files:
conf.c ftpd.c
Log Message:
* don't depend upon buffer returned by fgetln() to remain. fix mainly
from Tatoku Ogaito <tacha@tera.fukui-med.ac.jp> in [bin/3967]
* fgetln() doesn't \0 terminate its string. look for the \n and replace
it with \0 (if no \n, ignore the line - it's most likely corrupt)
* more intensive checks on strdup() returns (not a current mem leak,
but depended upon code elsewhere to cleanup - not good)
* cleanup some syslog error messages