Bugzilla – Bug 240898
xscreensaver-5.01-25: array subscript is above array bounds
Last modified: 2007-01-31 22:28:07 UTC
I just tried to compile package xscreensaver-5.01-25 with the new GNU compiler version 4.3 snapshot 20070126 The compiler said pacman_level.c:544: warning: array subscript is above array bounds The source code is for (i = 0; i <= NUM_BONUS_DOTS; i++) { if (x == pp->bonus_dots[i].x && y == pp->bonus_dots[i].y) { but bonus_dot bonus_dots[NUM_BONUS_DOTS]; Suggest code rework.
*** This bug has been marked as a duplicate of bug 240922 ***