Bug 152041

Summary: pcsx-1.3-448: 6 * array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Wolfgang Engel <wolfgang.engel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
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-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.