Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 589516

Summary: sys-apps/pciutils: use of REPLACING_VERSIONS does not account for multiple values
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: QA Keywords: QAcanfix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=705274
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 589444    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-23 13:01:05 UTC
See the tracker bug.

  if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then

Doesn't account for RV having >1 value. Also uses lexicographical string comparison on numbers, so 10 < 1.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-07 02:25:04 UTC
Fixed a while ago.