Bug 58882

Summary: Perl-RPM 4.0.3 does invalid comparison in Makefile.PL
Product: [Retired] Red Hat Linux Reporter: Chris Adams <linux>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
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: 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: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix invalid comparisons in Perl-RPM/Makefile.PL none

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.