]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
Merge with Michael
[apt.git] / cmdline / apt-get.cc
index 48b21a31f8eb8fd801ba70e118bca56891d04fd0..b2beb3c2be07e65710e059ce8488a220d72f7a09 100644 (file)
@@ -1211,6 +1211,10 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
         for (pkgCache::VerFileIterator VF = Ver.FileList(); VF.end() == false;
              VF++)
         {
+           // extra paranioa
+           if(VF.File() == NULL)
+              continue;
+
            /* If this is the status file, and the current version is not the
               version in the status file (ie it is not installed, or somesuch)
               then it is not a candidate for installation, ever. This weeds