Skip to content
Commit 04a73c84 authored by Matt Caswell's avatar Matt Caswell
Browse files

Verify that we have a sensible message len and fail if not


RT#3592 provides an instance where the OPENSSL_assert that this commit
replaces can be hit. I was able to recreate this issue by forcing the
underlying BIO to misbehave and come back with very small mtu values. This
happens the second time around the while loop after we have detected that the
MTU has been exceeded following the call to dtls1_write_bytes.

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
(cherry picked from commit cf75017b)
parent 87ff17a0
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