]> 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)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 6 Oct 2022 07:55:48 +0000 (09:55 +0200)
commit50953de897023742e43d3feab976b891be1c6e63
tree587637ff85bfd817a45ac2f42b0caa1a543e0ef6
parent054012aeba3492c61d4f8935a84231ddbd2f5700
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