diff --git a/contrib/csup/lister.c b/contrib/csup/lister.c index 27fae2d94b69..b10dbd3a17e0 100644 --- a/contrib/csup/lister.c +++ b/contrib/csup/lister.c @@ -434,7 +434,7 @@ lister_dorcsfile(struct lister *l, struct coll *coll, struct statusrec *sr) free(path); } else fa = sr->sr_clientattr; - if (fattr_equal(fa, sr->sr_clientattr)) { + if (fa != NULL && fattr_equal(fa, sr->sr_clientattr)) { /* * If the file is an RCS file, we use "loose" equality, so sizes * may disagress because of differences in whitespace.