[BusyBox 0001220]: 'busybox dpkg -i' with no other arguments segfaults

bugs at busybox.net bugs at busybox.net
Thu Feb 15 21:20:15 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1220 
====================================================================== 
Reported By:                kiltedknight
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1220
Category:                   Documentation
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-15-2007 09:58 PST
Last Modified:              02-15-2007 13:20 PST
====================================================================== 
Summary:                    'busybox dpkg -i' with no other arguments segfaults
Description: 
run the command "busybox dpkg -i" and provide no other arguments; the
program will give a segmentation fault and core dump.
====================================================================== 

---------------------------------------------------------------------- 
 kiltedknight - 02-15-07 09:59  
---------------------------------------------------------------------- 
The pointer, deb_file, is never initialized beyond the NULL assignment if
there are no arguments provided. 

---------------------------------------------------------------------- 
 kiltedknight - 02-15-07 10:20  
---------------------------------------------------------------------- 
Added a revised patch that does it more cleanly and prints out an error
message. 

---------------------------------------------------------------------- 
 vda - 02-15-07 13:20  
---------------------------------------------------------------------- 
Fixed in rev 17902, thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-15-07 09:58  kiltedknight   New Issue                                    
02-15-07 09:58  kiltedknight   Status                   new => assigned     
02-15-07 09:58  kiltedknight   Assigned To               => BusyBox         
02-15-07 09:58  kiltedknight   File Added: busybox-vendor-fix-dpkg.diff         
          
02-15-07 09:59  kiltedknight   Note Added: 0002167                          
02-15-07 10:00  kiltedknight   Issue Monitored: kiltedknight                    
02-15-07 10:19  kiltedknight   File Added: busybox-vendor-fix-dpkg-revised.diff 
                  
02-15-07 10:20  kiltedknight   Note Added: 0002168                          
02-15-07 13:20  vda            Status                   assigned => closed  
02-15-07 13:20  vda            Note Added: 0002169                          
======================================================================




More information about the busybox-cvs mailing list