[BusyBox 0000422]: syslogd allocates shoten char array

bugs at busybox.net bugs at busybox.net
Fri Sep 23 16:34:41 UTC 2005


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             09-08-2005 18:52 PDT
Last Modified:              09-23-2005 09:34 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, 

---------------------------------------------------------------------- 
 bernhardf - 09-23-05 09:34  
---------------------------------------------------------------------- 
Fixed in rev. 11429. Closing this bug. Thank you! 

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                          
09-23-05 09:34  bernhardf      Status                   assigned => closed  
09-23-05 09:34  bernhardf      Note Added: 0000567                          
======================================================================




More information about the busybox-cvs mailing list