Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2007 10:17:26 GMT
From:      Ighighi <ighighi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/113961: fts(3): fts_pathlen & fts_namelen should be size_t, not u_short
Message-ID:  <200706231017.l5NAHQEP038288@www.freebsd.org>
Resent-Message-ID: <200706231020.l5NAK3SZ052460@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         113961
>Category:       kern
>Synopsis:       fts(3): fts_pathlen & fts_namelen should be size_t,  not u_short
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 23 10:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ighighi
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD orion 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jun 22 10:21:38 VET 2007     root@orion:/usr/obj/usr/src/sys/CUSTOM  i386

>Description:
Both fts_pathlen & fts_namelen should be of type size_t, not u_short.
NetBSD & OpenBSD already patched this bug. See:
http://mail-index.netbsd.org/netbsd-bugs/2006/03/28/0014.html
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/fts.c
http://cvsweb.netbsd.org/bsdweb.cgi/src/include/fts.h
http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gen/fts.c
http://www.openbsd.org/cgi-bin/cvsweb/src/include/fts.h

Maybe some changes documented in the OpenBSD CVS should be applied as well.
>How-To-Repeat:
http://mail-index.netbsd.org/netbsd-bugs/2006/03/28/0014.html
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706231017.l5NAHQEP038288>