]> git.saurik.com Git - apt.git/commit - apt-private/private-install.cc
do not ++ on erased package pointers in autoremove
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 3 Oct 2013 20:23:11 +0000 (22:23 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 3 Oct 2013 20:23:11 +0000 (22:23 +0200)
commit3a7a206f40b8fda475e39566fc220fe8c5b59a17
treec173b52a95a12b5f08efb1d198796bffd9cf56e4
parent342df712331004aa4907c9dbdf4b7728d087efb0
do not ++ on erased package pointers in autoremove

Symptom: In an Ubuntu precise chroot (like on travis-ci)
test-bug-613420-new-garbage-dependency segfaults in a std::set
operator++ on an iterator we have erased previously
(but not if run under gdb of course)
apt-private/private-install.cc