finger - Fix seg-fault
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 5 Jan 2011 20:48:07 +0000 (12:48 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 5 Jan 2011 20:48:07 +0000 (12:48 -0800)
commitcd2e48751c6b2178d7e607ed3ea4f0313ab33ab9
tree983f35e03dc22d9a5e3352f496a3e653bb00f759
parentc898d68285ddb128127fa81bcf0b64ce89be782c
finger - Fix seg-fault

* Fix a seg-fault where finger was improperly assuming that w->tty and w->host
  where char arrays when in fact they were simply char pointers.

Reported-by: Robin Carey <robin.carey1@googlemail.com>
usr.bin/finger/util.c