From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23511 invoked by alias); 1 Dec 2005 16:23:21 -0000 Received: (qmail 23500 invoked by uid 48); 1 Dec 2005 16:23:20 -0000 Date: Thu, 01 Dec 2005 16:23:00 -0000 From: "heiko dot nardmann at secunet dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20051201162319.1962.heiko.nardmann@secunet.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/1962] New: problem with datatype of variable len in io/fts.c:fts_open() X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00003.txt.bz2 List-Id: 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.