Bug 153958 - fontforge-20050803-5: array subscript out of range
Summary: fontforge-20050803-5: array subscript out of range
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Mike Fabian
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 23:05 UTC by David Binderman
Modified: 2006-03-09 16:20 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.