On 20 Jun 2001, Wayne Davison <[EMAIL PROTECTED]> wrote:
> The --cvs-exclude option is broken in the CVS version of rsync because
> of a cut-and-paste-induced bug in exclude.c:
>
> Index: exclude.c
> @@ -167,7 +167,7 @@
>
> 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;
>
> This bug could cause the sending rsync to crash when it dereferenced a
> NULL pointer.
Wow, that's pretty bad. Thanks for catching it!
Committed.
--
Martin
VA Linux Systems GnuPG encrypted email preferred
PGP signature