On Wed, Nov 16, 2005 at 03:08:48PM -0800, Daniel Burrows wrote:
Package: libapt-pkg-dev
Version: 0.6.42.3exp1
Severity: normal
Tags: patch
The following code should not crash, but it does:
pkgCache::VerIterator ver;
if(ver.end())
...;
Thanks for the bugreport and the
Package: libapt-pkg-dev
Version: 0.6.42.3exp1
Severity: normal
Tags: patch
The following code should not crash, but it does:
pkgCache::VerIterator ver;
if(ver.end())
...;
The problem is that end() doesn't check whether Owner is NULL before
dereferencing it. The following patch
2 matches
Mail list logo