Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589478 - media-gfx/nvidia-cg-toolkit: use of REPLACING_VERSIONS does not account for multiple values
Summary: media-gfx/nvidia-cg-toolkit: use of REPLACING_VERSIONS does not account for m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks: 589444
  Show dependency tree
 
Reported: 2016-07-23 12:43 UTC by Michał Górny
Modified: 2022-02-07 02:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-23 12:43:00 UTC
See the tracker bug.

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

This does not account for empty RV or >1 value in RV. Furthermore, < is lexicographical string comparison, so 10 < 2.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-07 02:22:22 UTC
Seems to have been fixed long ago.