]> git.saurik.com Git - apt.git/commit - cmdline/apt-get.cc
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>
Tue, 5 Jul 2016 06:22:52 +0000 (08:22 +0200)
commit8823972649b0d3049c9c0d34b5f1d31160234fb4
treee30b111bd9c2b5bfc0f47626e66887113207f422
parent0b45b6e5de1ba4224ced67a9952e009d0f4139a0
indextargets: Check that cache could be built before using it

This caused a crash because the cache was a nullptr.

Closes: #829651
cmdline/apt-get.cc
test/integration/test-bug-829651 [new file with mode: 0644]