summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-12-24 17:01:49 +0000
committerwpaul <wpaul@FreeBSD.org>1996-12-24 17:01:49 +0000
commitd594a0a4463e72746f58f6f7c37f42b684060387 (patch)
tree4c68fd180f5a6e67f6e589292727564ced1f0736 /bin/sh/trap.c
parent3d44e7b8d16a8feef39fd95bf30fa136b1fdb71a (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud