Bug 58882 - Perl-RPM 4.0.3 does invalid comparison in Makefile.PL
Perl-RPM 4.0.3 does invalid comparison in Makefile.PL
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-26 13:05 EST by Chris Adams
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-01-26 13:06:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch to fix invalid comparisons in Perl-RPM/Makefile.PL (965 bytes, patch)
2002-01-26 13:06 EST, Chris Adams
no flags Details | Diff

  None (edit)
Description Chris Adams 2002-01-26 13:05:17 EST
The Makefile.PL for Perl-RPM from rpm-4.0.3 does a numeric comparison of the
version, but the versions being compared are strings.  This results in undefined
behavoir.

Here's a patch.
Comment 1 Chris Adams 2002-01-26 13:06:11 EST
Created attachment 43615 [details]
Patch to fix invalid comparisons in Perl-RPM/Makefile.PL
Comment 2 Jeff Johnson 2002-01-26 13:28:40 EST
This was fixed in rpm-4.1, now fixed in rpm-4.0.4-0.20 as well.
Thanks for the patch.

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