netbsd-bugs@netbsd.org
[Top] [All Lists]

Re: lib/36464: scandir(3) corrupts heap when run on ZFS directories

Subject: Re: lib/36464: scandir(3) corrupts heap when run on ZFS directories
From: Ed Ravin
Date: Wed, 20 Jun 2007 20:20:03 +0000 UTC
The following reply was made to PR lib/36464; it has been noted by GNATS.

From: Ed Ravin <eravin@xxxxxxxxx>
To: gnats-bugs@xxxxxxxxxx
Cc: lib-bug-people@xxxxxxxxxx, gnats-admin@xxxxxxxxxx,
        netbsd-bugs@xxxxxxxxxx, eravin@xxxxxxxxx
Subject: Re: lib/36464: scandir(3) corrupts heap when run on ZFS directories
Date: Wed, 20 Jun 2007 16:15:07 -0400

 On Wed, Jun 20, 2007 at 08:05:04PM +0000, Jared D. McNeill wrote:
 > The following reply was made to PR lib/36464; it has been noted by GNATS.
 > 
 > From: "Jared D. McNeill" <jmcneill@xxxxxxxxxxxx>
 > To: gnats-bugs@xxxxxxxxxx
 > Cc: lib-bug-people@xxxxxxxxxx, gnats-admin@xxxxxxxxxx,
 >      netbsd-bugs@xxxxxxxxxx
 > Subject: Re: lib/36464: scandir(3) corrupts heap when run on ZFS directories
 > Date: Wed, 20 Jun 2007 16:02:39 -0400
 > 
 >  I just ran into a similar issue with ntfs-3g/refuse/puffs on - 
 >  current. Does the following patch resolve your issue?
 
 Looks like it would, but I've already backported Christos' patch
 in current back to 3.1 - I don't have the time to do any more testing.
 
 The ZFS behavior is easy to simulate if you want to test, divide the
 value of stb.st_size by 24 before assigning it to other vars.
 
 Thanks,
 
   -- Ed
 

<Prev in Thread] Current Thread [Next in Thread>