Skip to content

Fix things found in static analysis#9801

Merged
dgarske merged 3 commits intowolfSSL:masterfrom
LinuxJedi:static-fixes3
Feb 19, 2026
Merged

Fix things found in static analysis#9801
dgarske merged 3 commits intowolfSSL:masterfrom
LinuxJedi:static-fixes3

Conversation

@LinuxJedi
Copy link
Member

  • Fix wolfSSL_CRYPTO_memcmp

    This is used by the OpenSSL compatibility layer. If either parameter was NULL, it would return as a match. We should return a non-match instead. OpenSSL itself has no safety checks here.

  • Fix inverted logic in Sphincs and Falcon

  • Fix leak in PKCS7 RSA-OAEP

This is used by the OpenSSL compatibility layer. If either parameter was
NULL, it would return as a match. We should return a non-match instead.

OpenSSL itself has no safety checks here.
@dgarske dgarske merged commit 69b28cd into wolfSSL:master Feb 19, 2026
432 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.

3 participants

Comments