Subj : src/syncterm/term.c To : CVS commit From : rswindell Date : Sat Mar 21 2020 03:24 pm src/syncterm term.c 1.347 1.348 Update of /cvsroot/sbbs/src/syncterm In directory cvs:/tmp/cvs-serv14347 Modified Files: term.c Log Message: Address warnings in function 'zmodem_duplicate_callback' using SAFEPRINTF: term.c:1033:23: warning: '%s' directive writing up to 4096 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] term.c:1033:5: note: 'sprintf' output between 2 and 8194 bytes into a destination of size 4097 term.c: In function 'xmodem_download': term.c:1503:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] term.c:1503:5: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 term.c:1543:25: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] term.c:1543:7: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 term.c:1585:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] term.c:1585:5: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 Apparently removed some trailing whitespace characters too (thanks, Geany!). .