Files
bind9/lib/isc/include/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
..
2024-04-02 10:35:56 +02:00
2023-09-19 19:56:33 +02:00
2024-05-17 16:03:21 -07:00
2024-01-18 09:34:36 +01:00
2024-08-05 09:13:07 +00:00
2023-12-06 15:15:25 +02:00
2023-12-06 15:15:24 +02:00
2024-05-17 18:11:23 -07:00
2023-09-16 07:32:17 +02:00
2024-04-23 13:11:52 +02:00