diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-07 07:12:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-07 07:12:54 +0000 |
commit | 92eb952610a47e72b227f82fa5b443acef185daa (patch) | |
tree | cb87ad6c6e14eb1fade24bd87b9eba352868bc5e /lib/libpcap/bpf_image.c | |
parent | 8a836816791cedf4b8b9c0387db0bbbffa977a86 (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/libpcap/bpf_image.c')
0 files changed, 0 insertions, 0 deletions