mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
for tap_data_free, does not delete NULL items. Also it does not try to free the tail, specifically in the free of the list since that picked up the next item in the list for its loop causing invalid free. Added internal unit test to unbound-dnstap-socket for that.
17 lines
415 B
Text
17 lines
415 B
Text
# #-- dnstap.post --#
|
|
# source the master var file when it's there
|
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
|
# source the test var file when it's there
|
|
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
|
#
|
|
# do your teardown here
|
|
. ../common.sh
|
|
PRE="../.."
|
|
kill_pid $DNSTAP_SOCKET_PID
|
|
kill_pid $FWD_PID
|
|
kill $UNBOUND_PID
|
|
kill $UNBOUND_PID >/dev/null 2>&1
|
|
cat unbound.log
|
|
cat tap.log
|
|
cat tap.errlog
|
|
exit 0
|