Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSA Verify Fix #652

Merged
merged 1 commit into from
Feb 1, 2024
Merged

RSA Verify Fix #652

merged 1 commit into from
Feb 1, 2024

Conversation

ejohnstown
Copy link
Contributor

Switch from wc_RsaSSL_VerifyInline() to wc_RsaSSL_Verify(). Fixes a bad free.

To reproduce:

./configure && make clean && make
./examples/client/client -u john -h localhost -p 22 -i ~/.ssh/id_rsa -j ~/.ssh/id_rsa.pub -t

I used my own RSA private key to log into the sshd locally on both my Mac and my Linux PC. Both crashed out with a bad free.

(ZD17381)

1. Switch from wc_RsaSSL_VerifyInline() to wc_RsaSSL_Verify(). Fixes a
   bad free.
@JacobBarthelmeh JacobBarthelmeh merged commit 53a82e7 into wolfSSL:master Feb 1, 2024
10 checks passed
@ejohnstown ejohnstown deleted the rsa-fix branch March 20, 2024 17:33
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