From owner-cvs-all Tue Feb 26 13:39:36 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C78237B402; Tue, 26 Feb 2002 13:39:32 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1QLdWX11878; Tue, 26 Feb 2002 13:39:32 -0800 (PST) (envelope-from alfred) Message-Id: <200202262139.g1QLdWX11878@freefall.freebsd.org> From: Alfred Perlstein Date: Tue, 26 Feb 2002 13:39:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen readdir.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alfred 2002/02/26 13:39:32 PST Modified files: lib/libc/gen readdir.c Log: use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent over the user supplied buffer. this can be a problem when the user doesn't supply a full dirent and we corrupt their memory. Revision Changes Path 1.11 +2 -2 src/lib/libc/gen/readdir.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message