Skip to content

Guard fwTPM public name computation on buffer allocation success - #605

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
aidangarske:coverity-913526-fwtpm-name-deadcode
Sep 11, 2026
Merged

Guard fwTPM public name computation on buffer allocation success#605
dgarske merged 1 commit into
wolfSSL:masterfrom
aidangarske:coverity-913526-fwtpm-name-deadcode

Conversation

@aidangarske

Copy link
Copy Markdown
Member

CID 913526

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is fully reviewed with no unresolved blocking issues.

Pull request overview

Guards fwTPM public-name computation against temporary-buffer allocation failure.

Changes:

  • Gates marshaling and hashing on successful allocation.
  • Preserves cleanup and propagates the allocation error.
File summaries
File Summary
src/fwtpm/fwtpm_crypto.c Adds allocation-success guarding around public-name computation.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dgarske
dgarske merged commit 6908d34 into wolfSSL:master Sep 11, 2026
221 checks passed
@aidangarske
aidangarske deleted the coverity-913526-fwtpm-name-deadcode branch September 11, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants