HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix crash when SetCandidateRelease is used
[ntk/apt.git]
/
apt-pkg
/
depcache.cc
diff --git
a/apt-pkg/depcache.cc
b/apt-pkg/depcache.cc
index
a06789c
..
f9c891c
100644
(file)
--- a/
apt-pkg/depcache.cc
+++ b/
apt-pkg/depcache.cc
@@
-1522,7
+1522,7
@@
bool pkgDepCache::SetCandidateRelease(pkgCache::VerIterator TargetVer,
if (itsFine == false)
{
// change the candidate
- Changed.push_back(make_pair(
oldCand
, TargetVer));
+ Changed.push_back(make_pair(
V
, TargetVer));
if (SetCandidateRelease(V, TargetRel, Changed) == false)
{
if (stillOr == false)