From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 23 10:20:04 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A9D916A46D for ; Sat, 23 Jun 2007 10:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id EA54913C4BB for ; Sat, 23 Jun 2007 10:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5NAK3so052461 for ; Sat, 23 Jun 2007 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5NAK3SZ052460; Sat, 23 Jun 2007 10:20:03 GMT (envelope-from gnats) Resent-Date: Sat, 23 Jun 2007 10:20:03 GMT Resent-Message-Id: <200706231020.l5NAK3SZ052460@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ighighi Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D632616A41F for ; Sat, 23 Jun 2007 10:17:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id C32CF13C4B0 for ; Sat, 23 Jun 2007 10:17:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5NAHQ31038289 for ; Sat, 23 Jun 2007 10:17:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l5NAHQEP038288; Sat, 23 Jun 2007 10:17:26 GMT (envelope-from nobody) Message-Id: <200706231017.l5NAHQEP038288@www.freebsd.org> Date: Sat, 23 Jun 2007 10:17:26 GMT From: Ighighi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/113961: fts(3): fts_pathlen & fts_namelen should be size_t, not u_short X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2007 10:20:04 -0000 >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: