[BusyBox 0004494]: segfault in bb_show_usage when using FEATURE_COMPRESS_USAGE on powerpc platform (probable endian unsafety)

bugs at busybox.net bugs at busybox.net
Thu Aug 7 13:00:57 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=4494 
====================================================================== 
Reported By:                whitpa
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   4494
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-07-2008 06:00 PDT
Last Modified:              08-07-2008 06:00 PDT
====================================================================== 
Summary:                    segfault in bb_show_usage when using
FEATURE_COMPRESS_USAGE on powerpc platform (probable endian unsafety)
Description: 
On a PowerPC platform using compressed help, whenever any attempt is made
to print usage strings (whether volunteered by the applet or requested via
--help), archival/libunarchive/decompress_bunzip2.c:start_bunzip() returns
RETVAL_NOT_BZIP_DATA, such that libbb/appletlib.c:unpack_usage_messages()
returns a NULL pointer and libbb/appletlib.c:bb_show_usage() subsequently
dereferences it. 

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-07-08 06:00  whitpa         New Issue                                    
08-07-08 06:00  whitpa         Status                   new => assigned     
08-07-08 06:00  whitpa         Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list