Bug 153958

Summary: fontforge-20050803-5: array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Mike Fabian <mfabian>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: coolo
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-02-27 23:05:31 UTC
I just tried to compile package fontforge-20050803-5 with a non standard version
of the GNU C compiler.

It said

cvexport.c:509: warning: array subscript out of range

The source code is

    gcd[6].gd.pos.width = pos.width-4; gcd[22].gd.pos.height = pos.height-2;

but

    GGadgetCreateData gcd[8];

so gcd[ 22] does not exist. Suggest code rework.
Comment 1 Mike Fabian 2006-03-09 16:20:10 UTC
Fixed package submitted to STABLE.

Closing as FIXED.

By the way, the problem is already fixed in the latest upstream version.
Comment 2 Mike Fabian 2006-03-09 16:20:42 UTC
FIXED.