diff options
author | 2019-11-20 15:50:41 +0000 | |
---|---|---|
committer | 2019-11-20 15:50:41 +0000 | |
commit | cacd89a945427b8b73d11669899ef082e2903f9a (patch) | |
tree | d45dce2cfffc7a04467205fda341a553eb4b0ddf /lib/libssl/tls13_buffer.c | |
parent | Ensure that the kernel stack is properly aligned on mips64. This fixes (diff) | |
download | wireguard-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