[gnutls-devel] GnuTLS | Fix issues in record_size_limit extension handling (!879)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Feb 1 17:25:09 CET 2019
Hubert Kario commented on a discussion on lib/ext/record_size_limit.c:
> if (new_size < 64)
> return gnutls_assert_val(GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER);
>
> + /* the same size should be requested upon HRR */
> + if (unlikely
> + (session->internals.hsk_flags & HSK_HRR_SENT &&
> + session->internals.hsk_flags & HSK_RECORD_SIZE_LIMIT_RECEIVED &&
> + new_size != session->internals.peer_record_size_limit))
> + return gnutls_assert_val(GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER);
I've added test cases to check for that, please verify: https://github.com/tomato42/tlsfuzzer/pull/506
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/879#note_137542588
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190201/7658ae53/attachment.html>
More information about the Gnutls-devel
mailing list