bug in hpecc() ?
Clifford Spencer
cspencer at bbncc5.UUCP
Sat Oct 12 04:53:09 AEST 1985
In 4.2 and ULTRIX hp.c(hpecc) I see the following happening under
the ECC case:
npf--; /* because block in error is previous block */
*
mpte = mbp->mba_map[npf+btop(byte)];
* (correct error here)
*
npf++;
Why the fiddling with npf? What if npf is initially zero and byte < 512?
If the error occurs in the first page of a transfer, isn't npf going to
go negative and we will reference mba_map[-1] ? Can someone explain this?
-cliff
--
cliff spencer
{harvard, ihnp4, decvax}!bbnccv!cspencer
cspencer at bbncc5
More information about the Comp.unix.wizards
mailing list