Bug#339533: pkgCache::VerIterator::end() crashes on a default VerIterator
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 patch. It's in my repository now and
it will be part of the next upload.
Cheers,
Michael
--
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo
Reply to: