[uClibc 0001849]: getcwd() problem on kernels without getcwd syscall
bugs at busybox.net
bugs at busybox.net
Fri Jan 4 08:52:02 UTC 2008
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1849
======================================================================
Reported By: michael_d
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1849
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 01-04-2008 00:52 PST
Last Modified: 01-04-2008 00:52 PST
======================================================================
Summary: 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.
======================================================================
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
======================================================================
More information about the uClibc-cvs
mailing list