Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589514 - sys-apps/man-db: use of REPLACING_VERSIONS does not account for multiple values
Summary: sys-apps/man-db: use of REPLACING_VERSIONS does not account for multiple values
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks: 589444
  Show dependency tree
 
Reported: 2016-07-23 13:00 UTC by Michał Górny
Modified: 2022-02-07 02:27 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:00:24 UTC
See the tracker bug.

  if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; then

This is going to fail hard when RV is empty or has >1 value.
Comment 1 Larry the Git Cow gentoo-dev 2022-02-07 02:27:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18f8f70b9d8d712a7a71b78091b407a9dd5bb92

commit d18f8f70b9d8d712a7a71b78091b407a9dd5bb92
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-07 02:20:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-07 02:21:17 +0000

    sys-apps/man-db: fix use of REPLACING_VERSIONS
    
    Closes: https://bugs.gentoo.org/589514
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/man-db/man-db-2.10.0.ebuild | 19 ++++++++++++++-----
 sys-apps/man-db/man-db-9999.ebuild   | 19 ++++++++++++++-----
 2 files changed, 28 insertions(+), 10 deletions(-)