]> git.saurik.com Git - apt.git/commit
indextargets: Check that cache could be built before using it
authorJulian Andres Klode <jak@debian.org>
Tue, 5 Jul 2016 06:21:28 +0000 (08:21 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 31 Aug 2016 11:49:37 +0000 (13:49 +0200)
commitd30f800560010cb123fdd74b46c727df0e54eaed
treec74a1b75c3b5dfcbcc57a3f32955afdce25a1a49
parentde2c7e41ab4fe0e1e899e1d87c991e32cd343365
indextargets: Check that cache could be built before using it

This caused a crash because the cache was a nullptr.

Closes: #829651
(cherry picked from commit 8823972649b0d3049c9c0d34b5f1d31160234fb4)
cmdline/apt-get.cc
test/integration/test-bug-829651 [new file with mode: 0644]