Skip to content

SetSuitesHashSigAlgo fix#10204

Open
mattia-moffa wants to merge 3 commits intowolfSSL:masterfrom
mattia-moffa:20260413-fixes
Open

SetSuitesHashSigAlgo fix#10204
mattia-moffa wants to merge 3 commits intowolfSSL:masterfrom
mattia-moffa:20260413-fixes

Conversation

@mattia-moffa
Copy link
Copy Markdown
Contributor

@mattia-moffa mattia-moffa commented Apr 13, 2026

Description

Fixes zd#21599

Testing

  • ./configure --enable-opensslextra
  • make && make check

@mattia-moffa mattia-moffa self-assigned this Apr 13, 2026
Copilot AI review requested due to automatic review settings April 13, 2026 14:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prevents buffer overflow in SetSuitesHashSigAlgo() when parsing user-provided signature algorithm lists (notably RSA-PSS in TLS 1.3).

Changes:

  • Add a preflight bounds check before calling AddSuiteHashSigAlgo().
  • Account for RSA-PSS + TLS 1.3 adding two entries (4 bytes) to the sigalg list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings April 13, 2026 20:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mattia-moffa
Copy link
Copy Markdown
Contributor Author

Jenkins retest this please

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.

3 participants