Bugzilla – Bug 240894
xplanet-1.2.0-46: array subscript is above array bounds
Last modified: 2007-01-31 22:14:09 UTC
I just tried to compile package xplanet-1.2.0-46 with the new GNU compiler version 4.3 snapshot 20070126 The compiler said jpleph.cpp:615: warning: array subscript is above array bounds The source code is for( i = 0; i < 3; i++) rval->ipt[12][i] = rval->ipt[12][i + 1]; but long ipt[13][3]; so the program is trying to index 4 into an array of size 3. Suggest code rework.
*** This bug has been marked as a duplicate of bug 240922 ***