Skip to content

der: fix input validation in SetOfRef - #2431

Merged
tarcieri merged 2 commits into
RustCrypto:masterfrom
dishmaker:dishmaker/der_fix_setofref_validation
Sep 18, 2026
Merged

tarcieri merged 2 commits into
RustCrypto:masterfrom
dishmaker:dishmaker/der_fix_setofref_validation

Conversation

@dishmaker

@dishmaker dishmaker commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #2429 1

Notably, I changed returned Error to T::Error to be consistent with impl DecodeValue for SetOf.

Footnotes

  1. the bug was introduced from my suggestion https://github.com/RustCrypto/formats/pull/2247#discussion_r2863539379

@dishmaker
dishmaker marked this pull request as ready for review September 18, 2026 11:46
@tarcieri
tarcieri merged commit bb90acf into RustCrypto:master Sep 18, 2026
117 checks passed
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.

der typed validation bypass

2 participants