Files
bind9/lib/isc
Ondřej Surý 506138ec0f Fix the assertion failure when putting 48-bit number to buffer
When putting the 48-bit number into a fixed-size buffer that's exactly 6
bytes, the assertion failure would occur as the 48-bit number is
internally represented as 64-bit number and the code was checking if
there is enough space for `sizeof(val)`.  This causes assertion failure
when otherwise valid TSIG signature has a bad timing information.

Specify the size of the argument explicitly, so the 48-bit number
doesn't require 8-byte long buffer.

(cherry picked from commit 37dbd57c16)
2024-08-05 11:11:40 +00:00
..
2023-08-31 22:08:35 +02:00
2023-08-21 18:39:53 +02:00
2024-02-09 13:11:48 +03:00
2024-05-17 16:03:21 -07:00
2023-12-06 15:15:24 +02:00
2023-08-31 22:08:35 +02:00
2023-09-16 07:32:17 +02:00
2023-04-27 12:38:53 +02:00