Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0000045 |
[BusyBox] Networking Support |
minor |
always |
01-18-05 23:59 |
07-31-05 15:34 |
|
Reporter |
pmz |
View Status |
public |
|
Assigned To |
BusyBox |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
Product Version |
1.00 |
|
Summary |
0000045: traceroute causes an alignment trap due to unaligned buffer on arm |
Description |
In various combinations of gcc and optimization options the static buffer "char packet [512]" starts on odd adresses. In this case, accesses to port number (16 bit) of struct udphdr are leading to unaligned accesses.
Attached patch changes packet to dynamically allocated buffer, which is aligned by definition. |
Additional Information |
|
|
Attached Files |
patch.traceroute [^] (1,766 bytes) 01-18-05 23:59 |
|