mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
- Check for NULL in case fattr_frompath fails.
This commit is contained in:
parent
abb23cb1af
commit
d8c0b9ac9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue