Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site utcsstat.UUCP Path: utzoo!utcsstat!geoff From: geoff@utcsstat.UUCP (Geoffrey Collyer) Newsgroups: net.bugs.v7 Subject: array overruns in icheck & dcheck Message-ID: <1411@utcsstat.UUCP> Date: Thu, 10-Nov-83 04:44:26 EST Article-I.D.: utcsstat.1411 Posted: Thu Nov 10 04:44:26 1983 Date-Received: Thu, 10-Nov-83 09:21:37 EST Organization: U. of Toronto, Canada Lines: 8 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