Red Hat Bugzilla – Bug 57631
garbage in syslog messages from wu-ftpd
Last modified: 2007-04-18 12:38:46 EDT
I saw this in my syslog when I recently FTPd to 127.0.0.1 and logged in
(using my wife's account, which is why it says "andrea" :-):
Dec 17 08:51:47 jik ftpd: localhost.localdomain:
: FTP LOGIN FROM localhost.localdomain [127.0.0.1], andrea
Yes, that's all on one line in the syslog. The problem appears to be that
ftpd is using space as SPT_PADCHAR on Linux when it should in fact be using
a null instead.
The attached patch, accompanied by running "autoconf" to regenerate the
configure script, appears to solve the problem, but I'm not sure it's the
*correct* way to solve the problem since there appears to be a hybrid of
two different building mechanisms right now, and I'm not sure the wu-ftpd
development team has yet figured out all the details of how they're going
to set things like SPT_PADCHAR within configure.
Created attachment 40868 [details]
patch to set SPT_PADCHAR to '\0' on linux
You're not going to ship with this bug unfixed, are you?
Fixed in 2.6.2-3