]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix data race in offloaded dns_message_checksig()
authorAram Sargsyan <aram@isc.org>
Wed, 11 Sep 2024 15:58:11 +0000 (15:58 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 12 Sep 2024 09:08:35 +0000 (09:08 +0000)
commit35ef25e5ea442eb0cb3731b1f2a0546394a2e97a
tree27daa75cb4922f6f4340e98e4ab99312b0779570
parent149b3d552e545f5fa11001633a013367232f3d73
Fix data race in offloaded dns_message_checksig()

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.
lib/dns/message.c