[Bug 253482] New: SDL_perl-1.20.0-410 : array subscript is above array bounds
https://bugzilla.novell.com/show_bug.cgi?id=253482 Summary: SDL_perl-1.20.0-410 : array subscript is above array bounds Product: openSUSE 10.3 Version: Alpha 1plus Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to build package SDL_perl-1.20.0-410 with the GNU C compiler 4.3 snapshot 20070309. The compiler said OpenGL.xs:738: warning: array subscript is above array bounds The source code is float v[3]; for ( i = 0; i < 4; i++ ) { v[i] = (SvNOK(ST(i+2))) ? SvNV(ST(i+2)) : 0.0; } This is clearly broken code, since v[ 3] does not exist. Suggest code rework. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253482 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sndirsch@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253482 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from sndirsch@novell.com 2007-03-12 06:57 MST ------- fixed in STABLE/Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com