Bug 114375 - subscript out of range
subscript out of range
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gv (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dan Williams
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-27 07:35 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 3.5.8-26
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-19 23:35:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
increased array size to avoid subscript out of range (370 bytes, patch)
2004-01-31 20:15 EST, Bart Martens
no flags Details | Diff

  None (edit)
Description d.binderman 2004-01-27 07:35:39 EST
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-01-31 20:15:54 EST
Created attachment 97395 [details]
increased array size to avoid subscript out of range

Note You need to log in before you can comment on or make changes to this bug.