[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05
Clint Adams
schizo at debian.org
Sun Nov 15 03:17:41 UTC 2009
The following commit has been merged in the upstream branch:
commit c8a857d7637305bfe64ed4434c05a7fbeb281a98
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