]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: dev: Fix data race in offloaded dns_message_checksig()
authorArаm Sаrgsyаn <aram@isc.org>
Thu, 12 Sep 2024 10:34:07 +0000 (10:34 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 12 Sep 2024 10:34:07 +0000 (10:34 +0000)
When verifying a message in an offloaded thread there is a race with
the worker thread which writes to the same buffer. Clone the message
buffer before offloading.

Closes #4929

Backport of MR !9481

Merge branch 'backport-4929-data-race-in-dns_dnssec_verifymessage-memmove-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9490


Trivial merge