Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 05:00:42 -0800 (PST)
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/58912: dump fails on big directories with nodump flag set 
Message-ID:  <200311041300.hA4D0gH6066690@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR bin/58912; it has been noted by GNATS.

From: Ian Dowse <iedowse@maths.tcd.ie>
To: vpaepcke@dssgmbh.de
Cc: FreeBSD-gnats-submit@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@uxpae.incore>, vpaepcke@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


help

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