Thread View: net.bugs.v7
1 messages
1 total messages
Started by Geoffrey Collyer
Thu, 10 Nov 1983 09:44
array overruns in icheck & dcheck
Author: Geoffrey Collyer
Date: Thu, 10 Nov 1983 09:44
Date: Thu, 10 Nov 1983 09:44
8 lines
936 bytes
936 bytes
V7 icheck and dcheck declare blist and ilist respectively with one element too few. Both arrays need an extra element for an end marker. The effect is that `icheck -b b1 b2 b3 ... b10 filesystem' will dump core. Increasing the size of these arrays from NB to NB+1 fixes this problem. While you are at it, increase NB from 10 to something like 40, so that an entire track on most disks may be checked at once. Geoff Collyer, U. of Toronto
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