From owner-freebsd-bugs Mon Sep 17 11:30: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4F32637B40D for ; Mon, 17 Sep 2001 11:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8HIU4Q17399; Mon, 17 Sep 2001 11:30:04 -0700 (PDT) (envelope-from gnats) Date: Mon, 17 Sep 2001 11:30:04 -0700 (PDT) Message-Id: <200109171830.f8HIU4Q17399@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jim Bauer Subject: Re: misc/30631: readdir_r() SEGV on large directories Reply-To: Jim Bauer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/30631; it has been noted by GNATS. From: Jim Bauer To: freebsd-gnats-submit@FreeBSD.org, jfbauer@nfr.com Cc: Subject: Re: misc/30631: readdir_r() SEGV on large directories Date: Mon, 17 Sep 2001 14:21:48 -0400 Correction to suggested fix. memcpy(entry, dp, (unsigned) &dp->d_name - (unsigned)dp + dp->d_namlen + 1); -- Jim Bauer, jfbauer@nfr.com NFR Security, Inc. 240-747-3405 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message