[BusyBox 0000422]: syslogd allocates shoten char array

bugs at busybox.net bugs at busybox.net
Fri Sep 9 01:52:07 UTC 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=422 
====================================================================== 
Reported By:                kimai
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   422
Category:                   Other
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-08-2005 18:52 PDT
Last Modified:              09-08-2005 18:52 PDT
====================================================================== 
Summary:                    syslogd allocates shoten char array
Description: 
I found a short buffer allocation at busybox/sysklod/syslod.c.  It
mis-declares length of filenames, seems to forget for '\0' or two
column numbered suffix of backup files (ex. messages.10).

So it is simple or popular issue, I made a patch for this problem.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-08-05 18:52  kimai          New Issue                                    
09-08-05 18:52  kimai          Status                   new => assigned     
09-08-05 18:52  kimai          Assigned To               => BusyBox         
09-08-05 18:52  kimai          File Added: syslogd.c.diff                    
======================================================================




More information about the busybox-cvs mailing list