[BusyBox 0001454]: The stat -Z option segfaults

bugs at busybox.net bugs at busybox.net
Thu Aug 9 08:10:31 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1454 
====================================================================== 
Reported By:                bapper
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1454
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             08-06-2007 20:23 PDT
Last Modified:              08-09-2007 01:10 PDT
====================================================================== 
Summary:                    The stat -Z option segfaults
Description: 
When using the stat -Z option to print the security context, the applet
segfaults.  The reason for this is the scontext variable in do_stat needs
to be passed by reference to the getfilecon() funcitons.

A patch is attached which fixes this, it is against current svn repo.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 08-09-07 01:10  
---------------------------------------------------------------------- 
Fixed in rev 19420, thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-06-07 20:23  bapper         New Issue                                    
08-06-07 20:23  bapper         Status                   new => assigned     
08-06-07 20:23  bapper         Assigned To               => BusyBox         
08-06-07 20:23  bapper         File Added: stat-getfilecon-deref-fix.patch      
             
08-09-07 01:10  vda            Status                   assigned => closed  
08-09-07 01:10  vda            Note Added: 0002653                          
======================================================================




More information about the busybox-cvs mailing list