Thread View: NET.v7bugs
1 messages
1 total messages
Started by ucbvaxmark
Sun, 18 May 1980 22:54
icheck
Author: ucbvaxmark
Date: Sun, 18 May 1980 22:54
Date: Sun, 18 May 1980 22:54
16 lines
832 bytes
832 bytes
>From bill Thu Oct 18 01:41:53 1979 To: v7bugs Subj: bug in icheck Cc: sklower there is a bug in the icheck program due to the declaration of unsigned short s_fsize in <filsys.h>... in the places where XXX.s_fsize is used in comparisons in icheck.c, it should be cast to an integer. comparisons of the form if (YYY < XXX.s_fsize) are deadly, since YYY may be negative. since XXX.s_fsize is positive, but signed, YYY is treated as unsigned, and havoc results from the fact that the comparsion fails. if an inode has a (bad) negative block number in it (YYY < 0) then icheck will (hopefully) core dump or screw up in some other way. bill
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads