Bug 131517 - irda-0.9.16-26 : array subscript out of range
Summary: irda-0.9.16-26 : array subscript out of range
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Minor
Target Milestone: ---
Assignee: Christian Zoz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-30 18:13 UTC by David Binderman
Modified: 2007-06-05 09:37 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 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