Improving name-truncation detection

Wayne Davison wayned at samba.org
Mon Jan 19 18:17:30 GMT 2004


I've got a patch that changes f_name_to() to return an unsigned int
(like snprintf() and strlcpy() do) and adds checking to ensure that we
didn't overflow the name before we try to use it:

    http://www.blorf.net/name-overflow.patch

If anyone would care to check out the following patch before I commit
it, please do.

..wayne..


More information about the rsync mailing list