[BusyBox 0001513]: zcip crashes on ARM targets

bugs at busybox.net bugs at busybox.net
Thu Sep 27 11:45:59 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             09-27-2007 03:27 PDT
Last Modified:              09-27-2007 04:45 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. 

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                          
======================================================================




More information about the busybox-cvs mailing list