Skip to content

Libcaliptra: Adding length check to invoke DPE commands#3865

Closed
nquarton wants to merge 1 commit into
chipsalliance:mainfrom
nquarton:libcaliptra_invoke_dpe_data_size_check
Closed

Libcaliptra: Adding length check to invoke DPE commands#3865
nquarton wants to merge 1 commit into
chipsalliance:mainfrom
nquarton:libcaliptra_invoke_dpe_data_size_check

Conversation

@nquarton

Copy link
Copy Markdown
Collaborator

No description provided.

@nquarton

Copy link
Copy Markdown
Collaborator Author

I didn't look at this closely enough. The structs here use a variable length data field (data[0]). So this check doesn't work. I don't want to change anything and break current integrators and I can't think of a way to improve this without doing so.

So, I think I am going to drop this.

@nquarton nquarton closed this Jun 11, 2026
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.

libcaliptra: Validate data_size against struct size in Invoke DPE commands

3 participants