Bug 152041 - pcsx-1.3-448: 6 * array subscript out of range
Summary: pcsx-1.3-448: 6 * 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: Wolfgang Engel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 12:30 UTC by David Binderman
Modified: 2007-08-11 15:15 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-02-18 12:30:48 UTC
I just tried to compile package pcsx-1.3-448 with the Intel C compiler.

It said

1.

../plugins.c(502): warning #175: subscript out of range

The source code is

	analogpar[6] = pad->rightJoyY;

but earlier in the same file is

unsigned char analogpar[6] = { 0x00, 0xff, 0x5a, 0xff, 0xff };

so analogpar[6] does not exist. Suggest code rework.

2.

../plugins.c(503): warning #175: subscript out of range
../plugins.c(504): warning #175: subscript out of range
../plugins.c(514): warning #175: subscript out of range
../plugins.c(515): warning #175: subscript out of range
../plugins.c(516): warning #175: subscript out of range


Duplicates.
Comment 1 Ulrich Hecht 2006-02-22 12:45:28 UTC
update to 1.5 (which fixes this bug) committed to STABLE; may or may not get into 10.1...
Comment 2 Stefan Dirsch 2007-01-16 22:32:48 UTC
Feel free to close as duplicate of Bug #235591.
Comment 3 Andreas Jaeger 2007-08-11 15:15:11 UTC
Is fixed.