diff options
author | Michael Vogt <mvo@debian.org> | 2013-11-29 17:10:35 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-11-29 18:53:51 +0100 |
commit | 2f5ed336109d11e06d08bedef6b37d6597c4c09c (patch) | |
tree | ddb3307943cdfbbf116c0313bbe9e4f07386b838 /apt-pkg | |
parent | c9a5f74bd57fa4fcf4e30cade8e48c5635448689 (diff) |
fix crash when SetCandidateRelease is used
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index a06789cdf..f9c891c86 100644 --- 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) |