Bug 58882 - Perl-RPM 4.0.3 does invalid comparison in Makefile.PL
Summary: Perl-RPM 4.0.3 does invalid comparison in Makefile.PL
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.2
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-26 18:05 UTC by Chris Adams
Modified: 2008-05-01 15:38 UTC (History)
0 users

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


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

Description Chris Adams 2002-01-26 18:05:17 UTC
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 18:06:11 UTC
Created attachment 43615 [details]
Patch to fix invalid comparisons in Perl-RPM/Makefile.PL

Comment 2 Jeff Johnson 2002-01-26 18:28:40 UTC
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.