Bug 141852 - scummvm-0.8.0-3: array subscript out of range
Summary: scummvm-0.8.0-3: 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 Other
: P2 - High : Minor
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 19:46 UTC by David Binderman
Modified: 2006-01-10 10:58 UTC (History)
0 users

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-01-06 19:46:50 UTC
I just tried to compile package scummvm-0.8.0-3 with a non standard
version of the GNU C compiler

It said

compress_scumm_bun.cpp:144: warning: array subscript out of range

The source code is

        _destImcTable[89] = 0;

but

static byte _destImcTable[89];

Clearly broken code. Suggest code rework.
Comment 1 Stefan Dirsch 2006-01-09 11:56:06 UTC
> Clearly broken code. 
Indeed!
Comment 3 Stefan Dirsch 2006-01-09 23:12:15 UTC
Problem has already been fixed in CVS sources according to the scummvm bugtracking system. So it will get fixed with the next scummvm release.
Comment 4 Stefan Dirsch 2006-01-10 10:58:14 UTC
updated scumvm tools sources to current CVS --> fixed for 10.1 Beta1.