github.com
defence-in-depth: guard cumulative snprintf against length underflow · RsyncProject/rsync@4cf0898
Two cumulative-snprintf patterns in log.c (rsyserr) and main.c
(output_itemized_counts) had the shape
len = snprintf(buf, sizeof buf, ...);
len += snprintf(buf+len, sizeof buf - len, ...);...