|
Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0000054 |
[BusyBox] Other |
crash |
always |
01-21-05 09:29 |
07-31-05 15:34 |
|
|
Reporter |
thompsond |
View Status |
public |
|
|
Assigned To |
BusyBox |
|
Priority |
normal |
Resolution |
fixed |
|
|
Status |
closed |
|
Product Version |
1.00 |
|
|
Summary |
0000054: Tab completing filenames in ash causes SEGV |
|
Description |
Simple tab completion operations cause busybox (ash) to access illegal addresses.
This issue is reproduces reliably on SH-4 devices though is much harder to tickle on other micros. |
|
Additional Information |
This problem is due to busybox incorrectly using memcpy to copy and overlapping block of memory. This is an especial problem in SH-4 since for performance reasons it copies memory from high addresses to low not low to high as most other architectures do.
The attached patch alters the offending code to use memmove instead. |
|
|
Attached Files |
busybox-1.00-memmove.patch [^] (594 bytes) 01-21-05 09:29 |
|
|