[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a
Clint Adams
schizo at debian.org
Tue Aug 23 13:06:20 UTC 2011
The following commit has been merged in the upstream branch:
commit 5b9feb82ca942e734a9589359cc5cedd1fece6a3
Author: Clint Adams <schizo at debian.org>
Date: Thu Jun 18 09:20:04 2009 -0400
libfakeroot.c: avoid crashing on fts_read() error conditions. closes: #533456.
diff --git a/libfakeroot.c b/libfakeroot.c
index 2e95cab..b400add 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -1495,7 +1495,7 @@ FTSENT *fts_read(FTS *ftsp) {
FTSENT *r;
r=next_fts_read(ftsp);
- if(r) {
+ if(r && r->fts_statp) { /* Should we bother checking fts_info here? */
# ifndef STUPID_ALPHA_HACK
send_get_stat64(r->fts_statp);
# else
--
fakeroot
More information about the Fakeroot-commits
mailing list