]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Detect invalid bytes in makeBytesFromHex() 11945/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 6 Oct 2022 07:55:48 +0000 (09:55 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 14 Oct 2022 09:51:31 +0000 (11:51 +0200)
commit90f3314838fc6ef28baf3767c0ce285c9668a9a4
treeb9a05c1193fc638212bc27ba3ebdee7fda749b72
parent284647cde105b78a9e8e241cd91328bc0a1afeff
auth: Detect invalid bytes in makeBytesFromHex()

Also only allocate the required number of bytes, not twice that.
pdns/misc.cc
pdns/test-misc_hh.cc