This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1962] New: problem with datatype of variable len in io/fts.c:fts_open()
- From: "heiko dot nardmann at secunet dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Dec 2005 16:23:20 -0000
- Subject: [Bug libc/1962] New: problem with datatype of variable len in io/fts.c:fts_open()
- Reply-to: sourceware-bugzilla at sourceware dot org
The variable 'len' in function fts_open() is declared as 'int' but later on
assigned to the return value of strlen() which is 'unsigned int'.
How about declaring 'len' as unsigned int and also doing this for the third
parameter of function fts_alloc()?
--
Summary: problem with datatype of variable len in
io/fts.c:fts_open()
Product: glibc
Version: 2.3.5
Status: NEW
Severity: enhancement
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: heiko dot nardmann at secunet dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=1962
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.