]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Fix memory leaks in the bind file format parser 14196/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 4 Apr 2024 14:21:52 +0000 (16:21 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 17 May 2024 12:45:59 +0000 (14:45 +0200)
commit9a8bd90d2f9beffba267c91b0a9d37aefcc2836e
tree8f2e0342f9c831e08d723e0b4aedc9ffb9115c0c
parent6fe0cdfd49d04c89ed2521d7b8a0cbc71d4bb5c0
auth: Fix memory leaks in the bind file format parser

Some tokens were not properly freed: ACL names and entries, unused
word or quoted string terms. This is limited to the parsing of the
bind file format, zones themselves are fine, so there is no security
impact.
Found by LeakSanitizer over our existing unit tests.
pdns/bindparser.yy
pdns/named.conf.parsertest