]> git.ipfire.org Git - thirdparty/bind9.git/commit
Pass empty string instead of NULL to ns_client_dumpmessage()
authorOndřej Surý <ondrej@isc.org>
Wed, 6 May 2026 08:12:35 +0000 (10:12 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 11:32:15 +0000 (13:32 +0200)
commitf060971f84ebdaa3814f3dbfb0345c48f749b47d
tree9294c63fbfa1267d8514be79bd83a2f340da47bb
parente33ff6bb0ac7110ea2b64ba5adde0fb72200f37d
Pass empty string instead of NULL to ns_client_dumpmessage()

The two new call sites added by the CLASS-validation work passed NULL
as the reason, but ns_client_dumpmessage() bails out early on a NULL
reason — so the message dump never happened. The intent was to dump
the message and let the follow-up ns_client_log() carry the reason
text, so pass "" to suppress the prefix without short-circuiting the
dump.
lib/ns/client.c