projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* apt-pkg/algorithms.cc:
[apt.git]
/
apt-pkg
/
deb
/
debindexfile.cc
diff --git
a/apt-pkg/deb/debindexfile.cc
b/apt-pkg/deb/debindexfile.cc
index ff8bce85d1f036c260c53af050f061df22bb3188..234521efeb91c2f8ec6064c751919e468d85159b 100644
(file)
--- a/
apt-pkg/deb/debindexfile.cc
+++ b/
apt-pkg/deb/debindexfile.cc
@@
-305,7
+305,7
@@
pkgCache::PkgFileIterator debPackagesIndex::FindInCache(pkgCache &Cache) const
pkgCache::PkgFileIterator File = Cache.FileBegin();
for (; File.end() == false; File++)
{
-
if (
FileName != File.FileName())
+
if (File.FileName() == NULL ||
FileName != File.FileName())
continue;
struct stat St;