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

Bug 589494

Summary: net-mail/mailgraph: use of REPLACING_VERSIONS does not account for multiple values
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: QA CC: net-mail+disabled
Priority: Normal Keywords: QAcanfix
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=705266
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 12:52:57 UTC
See the tracker bug.

  if [[ ${REPLACING_VERSIONS} < 1.13 ]] ; then

Doesn't account for empty RV or having >1 value. Furthermore, < is lexicographical string comparison, so 10 < 1.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-07 02:23:37 UTC
Fixed as part of bug 705266.