fuzz: check that resource records are serialized successfully
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 12 Apr 2024 08:59:26 +0000 (08:59 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Apr 2024 20:18:12 +0000 (05:18 +0900)
commitaf6e98410984d9d07183508a3155fff660bfc043
tree5a28bd672fd419b59997029b86a193d37c717f3c
parent87bbcb26c89cd38a312eb1a66bdff055231502f2
fuzz: check that resource records are serialized successfully

It shouldn't fail at that point.

It's prompted by the "Structure needs cleaning" thing that keeps popping
up in various places like
https://github.com/systemd/systemd/pull/30952#discussion_r1553181309 and
https://github.com/systemd/systemd/issues/31708.
src/resolve/fuzz-resource-record.c