]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Detect invalid bytes in makeBytesFromHex()
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 6 Oct 2022 07:55:48 +0000 (09:55 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 1 Nov 2022 09:56:49 +0000 (10:56 +0100)
commit4c74f5a164bf485ee7dd3ac9c6096ffb904db29f
tree5a0454e2b658627ec2f76078395919eb64d04e85
parent397f88f75456467b4070db5a59f36fe216e15ac5
auth: Detect invalid bytes in makeBytesFromHex()

Also only allocate the required number of bytes, not twice that.

(cherry picked from commit 50953de897023742e43d3feab976b891be1c6e63)
pdns/misc.cc
pdns/test-misc_hh.cc