Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls.cc precisely_bound_buffer representation fix #37

Closed
wants to merge 1 commit into from

Conversation

nwf
Copy link
Member

@nwf nwf commented Oct 4, 2024

@rmn30 points out that just because the requested length is shorter than the maximum representable length doesn't mean that it's representable. Round the requested length down by the alignment mask first!

@rmn30 points out that just because the requested length is shorter than
the maximum representable length doesn't mean that it's representable.
Round the requested length down by the alignment mask first!

Co-authored-by: Robert Norton <[email protected]>
@davidchisnall
Copy link
Contributor

Can you expand the comment? I’m not sure I understand the masking.

@nwf
Copy link
Member Author

nwf commented Oct 6, 2024

Sure thing. I'll copy commentary from CHERIoT-Platform/cheriot-sail#74

@nwf
Copy link
Member Author

nwf commented Oct 7, 2024

OBE; see #38.

@nwf nwf closed this Oct 7, 2024
@nwf nwf deleted the 202410-precise-repr branch October 7, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants