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
0001849 [uClibc] Other minor always 01-04-08 00:52 01-04-08 21:32
Reporter michael_d View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001849: getcwd() problem on kernels without getcwd syscall
Description The getcwd() implementation in the absence of a getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end.

I'm attaching a patch to fix the issue.
Additional Information
Attached Files  uClibc-0.9.29-getcwd.diff [^] (530 bytes) 01-04-08 00:52

- Relationships

- Notes
(0003359)
vapier
01-04-08 21:32

thanks, ive added your patch to svn
 

- Issue History
Date Modified Username Field Change
01-04-08 00:52 michael_d New Issue
01-04-08 00:52 michael_d Status new => assigned
01-04-08 00:52 michael_d Assigned To  => uClibc
01-04-08 00:52 michael_d File Added: uClibc-0.9.29-getcwd.diff
01-04-08 21:32 vapier Note Added: 0003359
01-04-08 21:32 vapier Status assigned => closed
01-04-08 21:32 vapier Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker