]> git.saurik.com Git - apt.git/commit
Do not crash in 'apt show' for non-installed packages
authorJulian Andres Klode <jak@debian.org>
Mon, 17 Aug 2015 08:10:57 +0000 (10:10 +0200)
committerJulian Andres Klode <jak@debian.org>
Mon, 17 Aug 2015 08:10:57 +0000 (10:10 +0200)
commit44d9e9f91b6e87717844a7ec562bd38886a57aa6
tree01437d57e295dc870ee85faf4def6788a8ad20bb
parent1040dc888db00fdb0fe059e6b847fdc88fe53d80
Do not crash in 'apt show' for non-installed packages

For a non-installed package, manual_installed was set to the null
pointer. This was passed to Tag::Rewrite, which expects an string
(empty for null-type values) and the conversion from null pointer
to string does not work correctly.
apt-private/private-show.cc