]> git.saurik.com Git - apt.git/commit
Do not try to cast a pkgDepCache::Policy to a pkgCache
authorMichael Vogt <mvo@debian.org>
Tue, 27 May 2014 15:49:53 +0000 (17:49 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 27 May 2014 15:49:53 +0000 (17:49 +0200)
commitde6221c9d5f99a276628bcf45fb28537e46e7660
tree9414a683121ad15aecfc706e82a43999766c1dc1
parent21ea1dbb50176a89e7f456f9b31220ff3097fdf2
Do not try to cast a pkgDepCache::Policy to a pkgCache

Fix incorrect cast in pkgDepCache::Policy::GetCandidateVer()

Reported-By: clang -fsanitize=address -fno-omit-frame-pointer
apt-pkg/depcache.cc