]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Use snprintf over sprintf.
authorWarner Losh <imp@FreeBSD.org>
Tue, 9 Jun 1998 04:13:03 +0000 (04:13 +0000)
committerWarner Losh <imp@FreeBSD.org>
Tue, 9 Jun 1998 04:13:03 +0000 (04:13 +0000)
commit9a1f6729af51ed5c6bb39411f2abd598dd04836b
treee8f3ecce89bbffe5dd2f53a095090a1dccea8d31
parentc788c9b2241c9d2c96d30a28aa41673389ae1996
o Use snprintf over sprintf.
o Use strncpy correctly.
o Use enough buffer for line.

Inspired by or Obtained from: Similar changes in OpenBSD
usr.bin/netstat/inet.c
usr.bin/netstat/route.c