[Bug 1352565] Re: apt-get crashes when an empty string is fed as the package name

Filip Sohajek filip.sohajek at gmail.com
Wed Aug 6 10:05:19 UTC 2014


** Changed in: dpkg (Ubuntu)
       Status: New => In Progress

** Changed in: dpkg (Ubuntu)
     Assignee: (unassigned) => Filip Sohajek (filip-sohajek)

** Package changed: dpkg (Ubuntu) => apt (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1352565

Title:
  apt-get crashes when an empty string is fed as the package name

Status in “apt” package in Ubuntu:
  In Progress

Bug description:
  This is an error report for package apt
  (http://packages.ubuntu.com/trusty/apt), but i just can't select it
  from the package filter as it yields "too many matches" for that name.

  If you do

  apt-get install/remove/whatever ""

  you get:

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  terminate called after throwing an instance of 'std::out_of_range'
    what():  basic_string::compare

  and the program crashes instead of pointing out my stupidity.

  This happens in Ubuntu 14.04 but I think it also affects other
  versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1352565/+subscriptions



More information about the foundations-bugs mailing list