summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2024-09-12 14:54:16 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2024-09-12 15:37:21 +0200
commit9f170a809a362093a9a010b0ac37d259534dc26f (patch)
tree219bf63f2d7661ad5c52bd46b12fc7b3a0796988 /lib
parentdaemon/session2: fix error handling in *wrap_after() (diff)
downloadknot-resolver-9f170a809a362093a9a010b0ac37d259534dc26f.tar.xz
knot-resolver-9f170a809a362093a9a010b0ac37d259534dc26f.zip
daemon/session2: try to avoid triggering Coverity
Strictly speaking, the .ip member is on 16 bytes long, so it doesn't suffice in case it's an IPv6. Practically it doesn't matter, as there's the union containing all this. Either way, I think it's cleaner to copy to the whole union. Also we don't support it in this case, but theoretically e.g. an AF_UNIX could happen, so let's be defensive and guard by kr_require().
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions