Subject: Re: dump: old bugs polished up as new ones :-)
To: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
From: Chris G. Demetriou <cgd@nobozo.CS.Berkeley.EDU>
List: netbsd-bugs
Date: 01/14/1994 13:29:48
> I think this bug has been reported before, but here we go again...  Without
> this, dump gets a SIGSEVG indexing outside the array usedinomap in
> traverse.c.

interesting; i've nevr seen this error, but...

> ! 	for (ino = 0; ino < maxino; ino++) {
>   		dp = getino(ino);
>   		if ((mode = (dp->di_mode & IFMT)) == 0)
> --- 117,121 ----
>   	int anydirskipped = 0;
>   
> ! 	for (ino = 1; ino < maxino; ino++) {

you're correct that this is broken, but that's no the right fix...
the correct one just went in the tree.


chris

------------------------------------------------------------------------------