← Back to team overview

touch-packages team mailing list archive

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

 

You have been subscribed to a public bug:

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: apt (Ubuntu)
     Importance: Undecided
         Status: In Progress


** Tags: apt crash emptystring
-- 
apt-get crashes when an empty string is fed as the package name
https://bugs.launchpad.net/bugs/1352565
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.