Bug 111025

Summary: bad source code
Product: [Fedora] Fedora Reporter: d.binderman
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED CURRENTRELEASE 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: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-26 00:41:36 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:

Description d.binderman 2003-11-26 15:31:41 UTC
Description of problem:
I just tried to compile package perl-5_8_1-91 from Fedora.

The compiler said

1.

try.c(37): warning #175: subscript out of range

The source code is in file Configure.

    U8 buf[8];

    buf[8] = 1;

I'm not sure what the fix is for this.

2.

Other suspicious bits of code include

gv.c(1592): warning #187: use of "=" where "==" may have been intended
gv.c(1593): warning #187: use of "=" where "==" may have been intended
regcomp.c(1866): warning #187: use of "=" where "==" may have been
intended
pp_ctl.c(1739): warning #187: use of "=" where "==" may have been intended
regexec.c(990): warning #187: use of "=" where "==" may have been intended



Version-Release number of selected component (if applicable):
perl-5_8_1-91 

How reproducible:


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


Expected results:


Additional info: