Bug 57631

Summary: garbage in syslog messages from wu-ftpd
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: wu-ftpdAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-02-10 22:24:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to set SPT_PADCHAR to '\0' on linux none

Description Jonathan Kamens 2001-12-17 22:17:27 UTC
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:
andrea                                                                                                                                                                                                                                                                                                                                                                          
[28076]: 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.

Comment 1 Jonathan Kamens 2001-12-17 22:17:51 UTC
Created attachment 40868 [details]
patch to set SPT_PADCHAR to '\0' on linux

Comment 2 Jonathan Kamens 2002-02-10 22:24:52 UTC
You're not going to ship with this bug unfixed, are you?


Comment 3 Bernhard Rosenkraenzer 2002-02-14 18:53:15 UTC
 Fixed in 2.6.2-3