Bug 110896

Summary: bad source code
Product: [Fedora] Fedora Reporter: d.binderman
Component: nautilus-cd-burnerAssignee: Alexander Larsson <alexl>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-13 08:19:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description d.binderman 2003-11-25 12:21:18 UTC
Description of problem:

I just tried to compile package nautilus-cd-burner-0_5_0-1 from 
Fedora.

The compiler said

1.

nautilus-cd-burner.c(835): warning #175: subscript out of range

The source code is

	char buf[BUFFER_SIZE+1];

	buf[BUFFER_SIZE+1] = '\0';

Array sizes are exclusive in C. This code seems to need improvement.


Version-Release number of selected component (if applicable):
nautilus-cd-burner-0_5_0-1 

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Alexander Larsson 2004-02-13 08:19:08 UTC
fixed in 2.5.7-1 (at least)