Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589522 - sys-auth/pam_skey: use of REPLACING_VERSIONS does not account for multiple values
Summary: sys-auth/pam_skey: use of REPLACING_VERSIONS does not account for multiple va...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks: 589444
  Show dependency tree
 
Reported: 2016-07-23 13:03 UTC by Michał Górny
Modified: 2016-07-23 18:29 UTC (History)
1 user (show)

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 13:03:16 UTC
See the tracker bug.

  case ${REPLACING_VERSIONS} in
    1.1.[45]|1.1.5-r[123])

Doesn't account for multiple values in RV!
Comment 1 Ulrich Müller gentoo-dev 2016-07-23 18:28:40 UTC
The test is for a single version being replaced and matching a certain string, which formally is a valid condition. I'm not going to spend any effort to catch the pathological case of more than two versions being replaced for an unslotted package, when the only effect is to print an elog message.

Anyway, the last version matching the test was removed three years ago, so I believe we can consider this obsolete.
Comment 2 Ulrich Müller gentoo-dev 2016-07-23 18:29:31 UTC
s/more than two versions/more than one version/