Bug 114375

Summary: subscript out of range
Product: [Fedora] Fedora Reporter: d.binderman
Component: gvAssignee: Dan Williams <dcbw>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.5.8-26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-20 03:35:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
increased array size to avoid subscript out of range none

Description d.binderman 2004-01-27 12:35:39 UTC
Description of problem:

I just tried to compile package gv-3.5.8-23 from Redhat
Fedora Core 1.

The compiler said

1.

process.c(291): warning #175: subscript out of range

The source code is

	char *argv[3];

	/* code deleted */
	argv[3] = NULL;

This code might benefit from rework. Suggest increase size of argv to 4.



Version-Release number of selected component (if applicable):


How reproducible:


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


Expected results:


Additional info:

Comment 1 Bart Martens 2004-02-01 01:15:54 UTC
Created attachment 97395 [details]
increased array size to avoid subscript out of range