]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix a message parsing regression
authorEvan Hunt <each@isc.org>
Tue, 16 Jan 2024 23:58:53 +0000 (15:58 -0800)
committerMichał Kępień <michal@isc.org>
Thu, 1 Feb 2024 20:24:26 +0000 (21:24 +0100)
commit6d70ccd1289a747745f859d3255fda423fa297fa
treece81751b439f3ff6c7b256394c2239032503c85d
parentb6265679842e602416e50666b0dffeed7ac3be26
fix a message parsing regression

the fix for CVE-2023-4408 introduced a regression in the message
parser, which could cause a crash if duplicate rdatasets were found
in the question section. this commit ensures that rdatasets are
correctly disassociated and freed when this occurs.

(cherry picked from commit 4c19d35614f8cd80d8748156a5bad361e19abc28)
lib/dns/message.c