telnet - Apply FreeBSD-SA-19:12.telnet.asc to telnet
commit81f2853eb7c6fe3c1ab0b4373c490f99bc53b77b
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 3 Aug 2019 16:09:45 +0000 (3 09:09 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 3 Aug 2019 16:11:27 +0000 (3 09:11 -0700)
tree356fd80daf78b312204e8fffaaa0fbcfaecb93be
parent2814a6c2d2d791ad5ae0db0a9a6f06ae67444abf
telnet - Apply FreeBSD-SA-19:12.telnet.asc to telnet

* Fix two environment variable vulnerabililties in the telnet
  client.

* Generally replace all sprintf()s with snprintf()s.
usr.bin/telnet/commands.c
usr.bin/telnet/telnet.c
usr.bin/telnet/utilities.c