diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-07-24 08:51:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-07-24 08:51:16 +0000 |
commit | 5a4181c31df9e925f3e6c0b978bf54e66629ee52 (patch) | |
tree | e09b039904a5c9dad942a9d8a3fbd1c284f3366f /socket.c | |
parent | c31246b522bacd40972c68fdfae270239382c549 (diff) | |
download | fetchmail-5a4181c31df9e925f3e6c0b978bf54e66629ee52.tar.gz fetchmail-5a4181c31df9e925f3e6c0b978bf54e66629ee52.tar.bz2 fetchmail-5a4181c31df9e925f3e6c0b978bf54e66629ee52.zip |
Better bounds checking.
svn path=/trunk/; revision=1178
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -90,7 +90,11 @@ va_dcl { #else va_start(ap); #endif +#ifdef HAVE_VSNPRINTF + vsnprintf(buf, sizeof(buf), format, ap); +#else vsprintf(buf, format, ap); +#endif va_end(ap); return SockWrite(sock, buf, strlen(buf)); |