Bug 136758 - 2 * array subscript out of range
2 * array subscript out of range
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gimp-gap (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nils Philippsen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-22 04:06 EDT by David Binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-22 05:34:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Binderman 2004-10-22 04:06:15 EDT
Description of problem:

I just tried to compile package gimp-gap-2.0.2-2 from package
Redhat Fedora Core 3 Test 3.

The compiler said

1.

gimplastvaldesc.c(475): warning #175: subscript out of range

The source code is

    token_tab[GIMP_LASTVAL_END].token              = GIMP_DDESC_END;

but

static GimpLastvalTokenTabType token_tab[GIMP_LASTVAL_END];

so token_tab[GIMP_LASTVAL_END] does not exist. Suggest code re-work.

2.

gimplastvaldesc.c(501): warning #175: subscript out of range

The source code is

    token_tab[GIMP_LASTVAL_END].lastval_type              = 0;

Duplicate.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Nils Philippsen 2004-10-22 05:34:15 EDT
Fixed in gimp-gap-2.0.2-3.

Note You need to log in before you can comment on or make changes to this bug.