Bugzilla – Bug 151088
kdrill-6.4-4: 5 * array subscript out of range
Last modified: 2006-02-20 17:37:38 UTC
I just tried to compile package kdrill-6.4-4 with a non standard version of the GNU C compiler. It said 1. skipsearch.c:350: warning: array subscript out of range The source code is XtAddCallback(SKIPshapeinput[3],XtNcallback, SKIPshapecallback, (XtPointer) 4); but, earlier in the same file Widget SKIPshapeinput[3]; /* if SKIP type 4, click on closest shape */ Suggest code rework, possibly array one element bigger. 2. skipsearch.c:63: warning: array subscript out of range skipsearch.c:73: warning: array subscript out of range skipsearch.c:83: warning: array subscript out of range skipsearch.c:93: warning: array subscript out of range Duplicates.
Mike: Maby this should get fixed.
Created attachment 69384 [details] bugzilla-151088-array-subscript-out-of-range.patch The patch I used.
Fixed package submitted to STABLE. Closing as FIXED.