Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2001 11:30:04 -0700 (PDT)
From:      Jim Bauer <jfbauer@nfr.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/30631: readdir_r() SEGV on large directories
Message-ID:  <200109171830.f8HIU4Q17399@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/30631; it has been noted by GNATS.

From: Jim Bauer <jfbauer@nfr.com>
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




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