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

LexLythius 1352565 at bugs.launchpad.net
Mon Aug 4 21:48:45 UTC 2014


Public bug reported:

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.

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt crash emptystring

-- 
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 “dpkg” package in Ubuntu:
  New

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/dpkg/+bug/1352565/+subscriptions



More information about the foundations-bugs mailing list