Skip to content

refactor: scope certificate parser temporaries#75

Draft
leopoldjoy wants to merge 1 commit into
mainfrom
audit/scope-cert-parser-temporaries
Draft

refactor: scope certificate parser temporaries#75
leopoldjoy wants to merge 1 commit into
mainfrom
audit/scope-cert-parser-temporaries

Conversation

@leopoldjoy

Copy link
Copy Markdown
Contributor

Summary

  • scope temporary ASN.1 pointers inside _parseTbs
  • preserve existing parser checks and revert behavior
  • reduce stack-depth pressure for the accepted parser-hardening fix stack

Context

This is an integration-only follow-up for the audit fix stack. It does not add a new validation rule; it only narrows local variable lifetimes so the parser-hardening PRs can combine without stack too deep.

Tests

  • forge fmt --check src test script
  • forge build --sizes src script
  • forge test --match-path test/CertManager.t.sol

Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
@elykhodges-png

Copy link
Copy Markdown

Elykliquor enterprise

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