[BusyBox 0000422]: syslogd allocates shoten char array

bugs at busybox.net bugs at busybox.net
Wed Sep 14 14:40:21 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
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-14-2005 07:40 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.
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 09-14-05 07:40  
---------------------------------------------------------------------- 
This fix was applied to the tree.

Please set the bug status to "fixed".

thanks, 

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                    
09-08-05 22:32  kimai          Issue Monitored: kimai                       
09-14-05 07:40  bernhardf      Note Added: 0000525                          
======================================================================




More information about the busybox-cvs mailing list