bind9/bin/delv
Ondřej Surý dba102ef16 Skip detach when delv's client never created
run_resolve allocates dns_client_t late, but the cleanup epilogue
called dns_client_detach() unconditionally. When convert_name() or
dns_client_create() failed first, the detach hit a NULL client and
the REQUIRE(DNS_CLIENT_VALID) inside it aborted the process with
SIGABRT instead of a clean error exit.

Guard the detach with a NULL check. Add a digdelv test that runs
delv on a query name whose first label exceeds 63 octets and
asserts the process does not exit 134.

Assisted-by: Claude:claude-opus-4-7
2026-04-30 10:56:11 +02:00
..
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
delv.c Skip detach when delv's client never created 2026-04-30 10:56:11 +02:00
delv.rst Document delv's +[no]cookie option 2026-03-26 11:18:26 +11:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00