Bug 242364

Summary: fuseiso-20070116-2: array subscript is above array bounds
Product: [openSUSE] openSUSE 10.3 Reporter: David Binderman <dcb314>
Component: OtherAssignee: Christoph Thiel <cthiel>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2007-02-05 21:47:38 UTC
I just tried to compile package fuseiso-20070116-2
with the GNU C compiler version 4.3 snapshot 20070202.

The compiler said

isofs.c:119: warning: array subscript is above array bounds

The source code is

        } else if(strncmp("CD001", vd_id + 16, 5) == 0) {

but the id field has only five elements, not 16.

Suggest code rework.
Comment 1 Christoph Thiel 2007-02-06 10:41:52 UTC

*** This bug has been marked as a duplicate of bug 211544 ***