--- Comment #2 from Ben RUBSON <> ---
Nice catch, I was able to easily reproduce this issue just creating a directory
with the name of a just-deleted file.

The path you mention Einhard seems to be the only one where no check is done to
be sure a directory is given to send_directory().

I think it would however be better to explicitly tells send_directory() that
fbuf could not be a directory.

Perhaps creating a new FLAG_PERHAPS_NOTDIR flag ?
recv_generator() would add FLAG_PERHAPS_NOTDIR to GDL_IGNORE_FILTER_RULES in
its get_dirlist() call, get_dirlist() would then send this flag to
send_directory(), and send_directory() would properly return if fbuf is not a
directory and (flags & FLAG_PERHAPS_NOTDIR).

You are receiving this mail because:
You are the QA Contact for the bug.

Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
Before posting, read:

Reply via email to