diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-12-24 17:01:49 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-12-24 17:01:49 +0000 |
commit | d594a0a4463e72746f58f6f7c37f42b684060387 (patch) | |
tree | 4c68fd180f5a6e67f6e589292727564ced1f0736 /bin/sh/trap.c | |
parent | 3d44e7b8d16a8feef39fd95bf30fa136b1fdb71a (diff) | |
download | FreeBSD-src-d594a0a4463e72746f58f6f7c37f42b684060387.zip FreeBSD-src-d594a0a4463e72746f58f6f7c37f42b684060387.tar.gz |
Another one-liner: remember to NUL terminate local copy of NIS host
lookup results. Without this, doing multiple host/addr lookups in a
single process yeilds strange results (the buffer is static, and
garbage may be left behind from previous lookups).
I just noticed this in 2.2-BETA. Unless somebody threatens to chop my
hands off with an axe, I'm going to move this to the 2.2-RELENG branch
shortly.
Diffstat (limited to 'bin/sh/trap.c')
0 files changed, 0 insertions, 0 deletions