LeakSanitizer detected memory leak in nsupdate
Job #3336065 failed in system:clang:asan
which has Clang 16.
$NSUPDATE -D -S -A CA/CA-other.pem -K CA/certs/srv01.client01.example.nil.key -E CA/certs/client01.crt01.example.nil.pem -k ns1/ddns.key <<END > nsupdate.out.test$n 2>&1
server 10.53.0.1 ${EXTRAPORT2}
update add dot-fsmt-auth-bad.example.nil. 600 A 10.10.10.3
send
END
setup_system()
Creating key...
Creating key...
namefromtext
keycreate
reset_system()
user_interaction()
do_next_command()
do_next_command()
evaluate_update()
update_addordelete()
do_next_command()
start_update()
dns_request_create: TLS error
=================================================================
==26697==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x55ad0ab4e3de in malloc (/builds/isc-projects/bind9/bin/nsupdate/.libs/nsupdate+0xc93de) (BuildId: cb6f56478f03cc1cdba7bb8d05bbc4bef756b573)
#1 0x7f43ee89a115 in mallocx /builds/isc-projects/bind9/lib/isc/./jemalloc_shim.h:65:14
#2 0x7f43ee89a115 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:304:8
#3 0x7f43ee899e31 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:667:8
#4 0x55ad0ab9e371 in sendrequest /builds/isc-projects/bind9/bin/nsupdate/nsupdate.c:2947:12
#5 0x55ad0ab8f770 in start_update /builds/isc-projects/bind9/bin/nsupdate/nsupdate.c:3405:2
#6 0x55ad0ab8f770 in getinput /builds/isc-projects/bind9/bin/nsupdate/nsupdate.c:3499:2
#7 0x7f43ee891721 in setup_jobs_cb /builds/isc-projects/bind9/lib/isc/loop.c:255:3
#8 0x7f43ee80a13f in isc__async_cb /builds/isc-projects/bind9/lib/isc/async.c:84:3
#9 0x7f43ecd08e92 in uv__async_io /usr/src/libuv-v1.44.1/src/unix/async.c:163:5
#10 0x7f43ecd24bc2 in uv__io_poll /usr/src/libuv-v1.44.1/src/unix/epoll.c:374:11
#11 0x7f43ecd098ad in uv_run /usr/src/libuv-v1.44.1/src/unix/core.c:391:5
#12 0x7f43ee88bc6a in loop_run /builds/isc-projects/bind9/lib/isc/loop.c:272:6
#13 0x7f43ee88bc6a in loop_thread /builds/isc-projects/bind9/lib/isc/loop.c:299:2
#14 0x7f43ee88b8a7 in isc_loopmgr_run /builds/isc-projects/bind9/lib/isc/loop.c:473:2
#15 0x55ad0ab8afcb in main /builds/isc-projects/bind9/bin/nsupdate/nsupdate.c:3536:2
#16 0x7f43ecd74d09 in __libc_start_main csu/../csu/libc-start.c:308:16
SUMMARY: AddressSanitizer: 16 byte(s) leaked in 1 allocation(s).