Undefined behaviours detected by LLVM 17 (noop_accept_cb, dns__nta_shutdown_cb)
Job #3708760 failed for d730f635.
Unit tests tcp_test
, tcpdns_test
, and tls_test
failed with:
[ RUN ] tcp_noop
../../lib/isc/netmgr/tcp.c:898:11: runtime error: call to function noop_accept_cb through pointer to incorrect function type 'enum isc_result (*)(struct isc_nmhandle *, enum isc_result, void *)'
/builds/isc-projects/bind9/tests/isc/netmgr_common.c:239: note: noop_accept_cb defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../../lib/isc/netmgr/tcp.c:898:11 in
keytable_test
unit test failed with:
[ RUN ] add
async.c:111:3: runtime error: call to function dns__nta_shutdown_cb through pointer to incorrect function type 'void (*)(void *)'
/builds/isc-projects/bind9/lib/dns/nta.c:582: note: dns__nta_shutdown_cb defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior async.c:111:3 in
Core dumps and backtraces were preserved in the CI job.