[Fakeroot-commits] [SCM] fakeroot branch, master, updated. debian/1.12.4
Clint Adams
schizo at debian.org
Thu Jun 18 13:25:39 UTC 2009
The following commit has been merged in the master 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