SSL_reset_early_data_reject does not clear out unreported bytes written
- Dominant language
- Assembly
- Stars
- 830
- Forks
- 212
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 61
Description
### Problem:
SSL_reset_early_data_reject does not clear out unreported bytes written. As a result, after early data is rejected and SSL_reset_early_data_rejected() is called, SSL_write most likely fail with BAD_LENGTH because of false length check.
### Solution:
Port boringssl fix https://boringssl.googlesource.com/boringssl/+/b01c5055d9efc6b114d5395ac1cc0080d9941a09
Contributor guide
Research direction
Start at the SSL_reset_early_data_reject and SSL_reset_early_data_rejected entry points, then compare their behavior with the referenced BoringSSL commit. Verify the early-data rejection state and unreported bytes handling, and confirm that a subsequent SSL_write no longer fails with BAD_LENGTH.
Written by the indexing model from the issue text.
Assessment
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100