Bug 245534

Summary: m17n-lib-1.3.4-4 : array subscript is below array bounds
Product: [openSUSE] openSUSE 10.3 Reporter: David Binderman <dcb314>
Component: OtherAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 1   
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-02-14 18:42:02 UTC
I just tried to compile package m17n-lib-1.3.4-4
with the GNU C compiler version 4.3 snapshot 20070209.

The compiler said

font.c:1370: warning: array subscript is below array bounds

The source code is

  registry = spec_list[i - 1];

but i could have the value 0.

Suggest code rework.
Comment 1 Mike Fabian 2007-02-14 18:47:57 UTC

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