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
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
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:
Clone Of:
Environment:
Last Closed: 2002-01-26 18:06:18 UTC
Embargoed:


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.