OpenBSD/src ST4ZDjc — sbin/unwind resolver.c
Check for a too short answer packet in all callback functions because otherwise we try to parse an invalid packet. This can be triggered by captive_portal_resolve_done() when dhcp provided nameservers do not answer and asr hits a timeout. answer_packet is NULL and answer_len -1 in that case. Found the hard way by claudio
Version | Delta | File | |
---|---|---|---|
1.70 | +13 | -3 | sbin/unwind/resolver.c |
+13 | -3 | 1 files |