Skip to content

Fix out-of-bounds read in ASN.1 type-and-length parser#589

Merged
kazuho merged 1 commit intoh2o:masterfrom
dip-proto:asn1fix
Apr 9, 2026
Merged

Fix out-of-bounds read in ASN.1 type-and-length parser#589
kazuho merged 1 commit intoh2o:masterfrom
dip-proto:asn1fix

Conversation

@jedisct1
Copy link
Copy Markdown
Contributor

@jedisct1 jedisct1 commented Apr 8, 2026

ptls_asn1_get_expected_type_and_length(), which is part of the public API, could read past the end of the input buffer.

ptls_asn1_get_expected_type_and_length, which is part of the public API,
could read past the end of the input buffer.
@kazuho kazuho merged commit 5568cf5 into h2o:master Apr 9, 2026
12 checks passed
@kazuho
Copy link
Copy Markdown
Member

kazuho commented Apr 9, 2026

Thank you for the fix!

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