bin/58912: dump fails on big directories with nodump flag set
Ian Dowse
iedowse at maths.tcd.ie
Tue Nov 4 05:00:45 PST 2003
The following reply was made to PR bin/58912; it has been noted by GNATS.
From: Ian Dowse <iedowse at maths.tcd.ie>
To: vpaepcke at dssgmbh.de
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: bin/58912: dump fails on big directories with nodump flag set
Date: Tue, 04 Nov 2003 12:49:48 +0000
In message <200311040922.hA49MOil001182 at uxpae.incore>, vpaepcke at dssgmbh.de writ
es:
>>Fix:
> There is a bug in /usr/src/sbin/dump/traverse.c:
> The inode buffer referenced by dp may change during the
> the call to searchdir() and may not be used thereafter.
> The inode buffer di containing a copy of the original one
> must be used instead.
Thanks for tracking this down! BTW, there seems to be another use
of `dp' a few lines later that suffers from the same problem. I'll
fix both shortly.
Ian
More information about the freebsd-bugs
mailing list