Bug 131517

Summary: irda-0.9.16-26 : array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Christian Zoz <zoz>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-10-30 18:13:29 UTC
I just tried to compile package irda-0.9.16-26 with a non
standard version of the GNU C compiler 

It said

irattach.c:671: warning: array subscript out of range

The source code is

	device[20] = '\0';

but

char device[20];

so device[ 20] does not exist. Suggest code rework.
Comment 1 Stefan Scheler 2006-01-31 13:21:47 UTC
fixed