diff options
author | Martin Pool <mbp@samba.org> | 2001-06-21 06:15:34 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-06-21 06:15:34 +0000 |
commit | 531d06b82464e77b81453cbd618a56af7d1542b8 (patch) | |
tree | 78d6050a605d741e8f98bf639e8ba16af81ccffc /exclude.c | |
parent | c6a7f2f48aa3d317343c54e4f47a9d278ab84f2b (diff) | |
download | rsync-531d06b82464e77b81453cbd618a56af7d1542b8.tar.gz |
Fix from Wayne Davison:
The --cvs-exclude option is broken in the CVS version of rsync
because of a cut-and-paste-induced bug in exclude.c:
This bug could cause the sending rsync to crash when it dereferenced
a NULL pointer.
Diffstat (limited to 'exclude.c')
-rw-r--r-- | exclude.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ int check_exclude(char *name, struct exclude_struct **local_exclude_list, if (local_exclude_list) { for (n=0; local_exclude_list[n]; n++) { - ent = exclude_list[n]; + ent = local_exclude_list[n]; if (check_one_exclude(name, ent, st)) { report_exclude_result(name, ent, st); return !ent->include; |