[BusyBox 0001513]: zcip crashes on ARM targets

bugs at busybox.net bugs at busybox.net
Thu Sep 27 12:03:52 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1513 
====================================================================== 
Reported By:                Alain
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1513
Category:                   Networking Support
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             09-27-2007 03:27 PDT
Last Modified:              09-27-2007 05:03 PDT
====================================================================== 
Summary:                    zcip crashes on ARM targets
Description: 
zcip causes a "bus error" when trying to seed the random generator on ARM
targets.

This is due to an alignment fault in the code where a structure field is
casted to an unsigned integer.

Please find an attached diff file that corrects the problem.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 09-27-07 04:14  
---------------------------------------------------------------------- 
I am trying to fix it without increasing code size.
Please try z.diff 

---------------------------------------------------------------------- 
 Alain - 09-27-07 04:45  
---------------------------------------------------------------------- 
Your patch perfectly works, many thanks. 

---------------------------------------------------------------------- 
 vda - 09-27-07 05:03  
---------------------------------------------------------------------- 
Fixed in svn 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-27-07 03:27  Alain          New Issue                                    
09-27-07 03:27  Alain          Status                   new => assigned     
09-27-07 03:27  Alain          Assigned To               => BusyBox         
09-27-07 03:27  Alain          File Added: zcip.patch                       
09-27-07 04:14  vda            File Added: z.diff                           
09-27-07 04:14  vda            Note Added: 0002798                          
09-27-07 04:45  Alain          Note Added: 0002799                          
09-27-07 05:03  vda            Status                   assigned => closed  
09-27-07 05:03  vda            Note Added: 0002800                          
======================================================================




More information about the busybox-cvs mailing list