summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_buffer.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-11-20 15:50:41 +0000
committerflorian <florian@openbsd.org>2019-11-20 15:50:41 +0000
commitcacd89a945427b8b73d11669899ef082e2903f9a (patch)
treed45dce2cfffc7a04467205fda341a553eb4b0ddf /lib/libssl/tls13_buffer.c
parentEnsure that the kernel stack is properly aligned on mips64. This fixes (diff)
downloadwireguard-openbsd-cacd89a945427b8b73d11669899ef082e2903f9a.tar.xz
wireguard-openbsd-cacd89a945427b8b73d11669899ef082e2903f9a.zip
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
Diffstat (limited to 'lib/libssl/tls13_buffer.c')
0 files changed, 0 insertions, 0 deletions