CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2022/08/06 17:35:30
Modified files: usr.bin/tcpbench: tcpbench.c Log message: Use NI_MAXHOST and NI_MAXSERV constants to allocate temporary strings for saddr_ntop() and inet_ntop(). This avoids truncation warnings and is better than arbitrary size values with 64 or 128 bytes. OK deraadt@