BusyBox Bug and Patch Tracking
BusyBox
  

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

- Relationships

- Notes
(0000304)
pgf
07-19-05 13:41

applied in svn 10861
 

- Issue History
Date Modified Username Field Change
01-21-05 09:29 thompsond New Issue
01-21-05 09:29 thompsond File Added: busybox-1.00-memmove.patch
01-21-05 09:32 thompsond Issue Monitored: thompsond
03-16-05 12:27 andersen Assigned To andersen => BusyBox
07-19-05 13:41 pgf Status assigned => resolved
07-19-05 13:41 pgf Resolution open => fixed
07-19-05 13:41 pgf Note Added: 0000304
07-31-05 15:34 vapier Status resolved => closed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker