]> git.ipfire.org Git - thirdparty/pdns.git/commit
Reject hexadecimal blobs with odd number of characters, fixes #12650.
authorMiod Vallat <miod.vallat@open-xchange.com>
Mon, 2 Dec 2024 15:47:11 +0000 (16:47 +0100)
committerMiod Vallat <miod.vallat@open-xchange.com>
Mon, 2 Dec 2024 15:47:11 +0000 (16:47 +0100)
commit44d407ce22e9b206c39836ceb2e2e34873daef43
tree9196b7e4b5b22a2a5e9cf0b551a72d7dd085f815
parent803699e81b74e0e9b07c477f310a9ae646d449bf
Reject hexadecimal blobs with odd number of characters, fixes #12650.

Changes in 4e75f84ac9a0ad451d096d8c9cad58fd3b5574dd to allow ignoring
non-hexa characters (such as whitespace) have also allowed dangling
hex digits, which were then padded with an implicit 0. This restores
the original behaviour of throwing an exception for these inputs.
pdns/rcpgenerator.cc