]> diplodocus.org Git - nmh/commitdiff
Subtracted 1 from size argument in some calls to strncpy(3).
authorDavid Levine <levinedl@acm.org>
Sun, 15 Mar 2020 21:14:36 +0000 (17:14 -0400)
committerDavid Levine <levinedl@acm.org>
Sun, 15 Mar 2020 21:14:36 +0000 (17:14 -0400)
This fixed "specified bound [n] equals destination size" warnings
found by gcc -Wstringop-truncation.

Also, fixed harmless copy-and-paste error (sizeof(tmpfil) instead
of sizeof(drft) in uip/rcvdist.c) introduced in commit 2f689a1cb.


No differences found