]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: fix DNS RR wire cache and EFI boot option bounds checks (#42926)
authorLennart Poettering <lennart@amutable.com>
Thu, 9 Jul 2026 09:00:29 +0000 (11:00 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 09:00:29 +0000 (11:00 +0200)
commitaf8700527a6ea2a0100c19f8da8ec379f5b805c5
tree82aa6db00f888f384e1cd4eb83fe50ec8b4d519a
parent5f44e242ae4825dc8e11b6b29908079c5a277c5b
parentd13b002aec366aeab72019dce86e956e8c7ba65c
shared: fix DNS RR wire cache and EFI boot option bounds checks (#42926)

Invalidate cached DNS RR wire format when
`dns_resource_record_clamp_ttl()` updates `rr->ttl` in place.
Validate each EFI `Boot####` device-path node length before reading
subtype-specific fields.
src/resolve/test-dns-rr.c
src/shared/dns-rr.c