Skip to content

tls: decode Uint24 from the field offset - #1822

Open
robstradling wants to merge 1 commit into
google:masterfrom
robstradling:fix-uint24-offset
Open

tls: decode Uint24 from the field offset#1822
robstradling wants to merge 1 commit into
google:masterfrom
robstradling:fix-uint24-offset

Conversation

@robstradling

Copy link
Copy Markdown
Contributor

`parseField` decoded a `Uint24` from the start of the supplied buffer rather than from the current offset, so any `Uint24` that was not the first field in a structure was unmarshalled incorrectly.

Same bug as fixed in transparency-dev/tesseract#932 (spotted there by @roger2hk as also existing here).

parseField decoded a Uint24 from the start of the supplied buffer rather
than from the current offset, so any Uint24 that was not the first field
in a structure was unmarshalled incorrectly.
@robstradling
robstradling requested a review from a team as a code owner September 2, 2026 17:09
@robstradling
robstradling requested review from mhutchinson and removed request for a team September 2, 2026 17:09
@roger2hk
roger2hk requested review from roger2hk and removed request for mhutchinson September 2, 2026 17:25
@roger2hk

roger2hk commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

/gcbrun

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