[BusyBox 0001574]: syslogd includes null-byte in message transmitted to remote server

bugs at busybox.net bugs at busybox.net
Wed Feb 13 09:19:37 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1574 
====================================================================== 
Reported By:                pipatron
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1574
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             11-04-2007 07:29 PST
Last Modified:              02-13-2008 01:19 PST
====================================================================== 
Summary:                    syslogd includes null-byte in message transmitted to
remote server
Description: 
Log messages transmitted to remote hosts includes a \0 at the end, which
might be an inconvenience at the remote side when filtering or storing the
message. It's difficult to say if this conforms to the standards or not,
since there aren't any, but no other syslog clients I've seen behaves like
this.

Included are tcpdump captures to show the behaviour.

====================================================================== 

---------------------------------------------------------------------- 
 pipatron - 11-04-07 07:38  
---------------------------------------------------------------------- 
The debug output got mangled, I uploaded a normal textfile to show the
issue. 

---------------------------------------------------------------------- 
 vda - 11-05-07 17:03  
---------------------------------------------------------------------- 
Try 3.patch 

---------------------------------------------------------------------- 
 vda - 02-13-08 01:19  
---------------------------------------------------------------------- 
Fixed in revision 21003. Thanks. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-04-07 07:29  pipatron       New Issue                                    
11-04-07 07:29  pipatron       Status                   new => assigned     
11-04-07 07:29  pipatron       Assigned To               => BusyBox         
11-04-07 07:37  pipatron       File Added: busybox-vs-syslog.txt                
   
11-04-07 07:38  pipatron       Note Added: 0002888                          
11-05-07 17:03  vda            File Added: 3.patch                          
11-05-07 17:03  vda            Note Added: 0002891                          
11-05-07 17:03  vda            Status                   assigned => feedback
02-13-08 01:19  vda            Status                   feedback => closed  
02-13-08 01:19  vda            Note Added: 0004354                          
======================================================================




More information about the busybox-cvs mailing list