Bug 240890

Summary: xbl-1.1.4-33: array subscript is above array bounds
Product: [openSUSE] openSUSE 10.3 Reporter: David Binderman <dcb314>
Component: X11 ApplicationsAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2007-01-31 21:18:25 UTC
I just tried to compile package xbl-1.1.4-33
with the new GNU compiler version 4.3 snapshot 20070126

The compiler said

transfo.c:100: warning: array subscript is above array bounds

The source code is

  for ( i=0;i<9;i++ ) tr->mat[0][i] = m[0][i] ;

but

  float m[3][3] ;

Suggest rewrite single for loop as double nested for loop.
Comment 1 Stefan Dirsch 2007-01-31 22:11:39 UTC

*** This bug has been marked as a duplicate of bug 240922 ***