Commit 63916e9a authored by Matt Caswell's avatar Matt Caswell
Browse files

Ensure read records are marked as read



In some situations (such as when we receive a fragment of an alert)
we try to get the next packet but did not mark the current one as read,
meaning that we got the same record back again - leading to an infinite
loop.

Found using the BoringSSL test suite.

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
parent 6f4a6a5c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment