resolve: fix heap-buffer-overflow reported by ASAN with strict_string_checks=1
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Jul 2022 13:00:58 +0000 (22:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Jul 2022 13:01:02 +0000 (22:01 +0900)
commitbeeab352de413e1c04de0a67ee36525fcf6e99dd
treee7a0e6d8c314097d7e39ab0ca3604a18d42645b2
parent4707ffa8a3155ed7f35cceaf0773623cd345fe05
resolve: fix heap-buffer-overflow reported by ASAN with strict_string_checks=1

Fixes #23942.
src/resolve/resolved-dns-packet.c