Bug 111025 - bad source code
bad source code
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chip Turner
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-11-26 10:31 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-25 20:41:36 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)

  None (edit)
Description d.binderman 2003-11-26 10:31:41 EST
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:

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