Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589500 - net-nntp/sabnzbd: use of REPLACING_VERSIONS does not account for multiple values
Summary: net-nntp/sabnzbd: 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: Justin Bronder (RETIRED)
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks: 589444
  Show dependency tree
 
Reported: 2016-07-23 12:55 UTC by Michał Górny
Modified: 2016-08-18 19:11 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:55:28 UTC
See the tracker bug.

  if [ "$(get_major_version ${REPLACING_VERSIONS})" == "0" ]; then

This is going to fail hard when RV is empty or has >1 value.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2016-08-18 19:11:03 UTC
commit c87b6e191a7aafc90b474e737168f311c112f328
Author: Justin Bronder <jsbronder@gentoo.org>
Date:   Thu Aug 18 15:09:50 2016 -0400

    net-nntp/sabnzbd: REPLACING_VERSIONS is a list
    
    Fixes #589500
    
    Package-Manager: portage-2.2.28