summaryrefslogtreecommitdiff
path: root/lib/libtelnet/kerberos.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-07 07:12:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-07 07:12:54 +0000
commit92eb952610a47e72b227f82fa5b443acef185daa (patch)
treecb87ad6c6e14eb1fade24bd87b9eba352868bc5e /lib/libtelnet/kerberos.c
parent8a836816791cedf4b8b9c0387db0bbbffa977a86 (diff)
per XPG, gethostname() with a short buffer returns truncated data - not ENOMEM.
As permitted, make the truncated buffer be NUL terminated. make getdomainname() match.
Diffstat (limited to 'lib/libtelnet/kerberos.c')
0 files changed, 0 insertions, 0 deletions