Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 16:50:01 -0700 (PDT)
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/30631: readdir_r() SEGV on large directories
Message-ID:  <200109232350.f8NNo1G34767@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: Kris Kennaway <kris@obsecurity.org>
To: Jim Bauer <jfbauer@nfr.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/30631: readdir_r() SEGV on large directories
Date: Sun, 23 Sep 2001 16:47:50 -0700

 On Mon, Sep 17, 2001 at 11:30:04AM -0700, Jim Bauer wrote:
 > 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);
 
 Please submit an updated patch.
 
 Kris

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?200109232350.f8NNo1G34767>