]> 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)
committerOndřej Surý <ondrej@sury.org>
Wed, 6 May 2026 11:38:12 +0000 (13:38 +0200)
commitcd3a72e414d35c2ae573f4faea1148a95db7d5ff
tree2dab1d0686fc79eb862727190a0942ed8b0dfcdc
parentec2c98181115bd5f6c7087fcc74d816490d4312e
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.

(cherry picked from commit 8af39c360407a92ef31bf233b9df760d1bb9fb5f)
lib/ns/client.c