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

Bug fixes #7517

Merged
merged 3 commits into from
May 13, 2024
Merged

Bug fixes #7517

merged 3 commits into from
May 13, 2024

Conversation

bandi13
Copy link
Contributor

@bandi13 bandi13 commented May 9, 2024

Fixed a bug in cmac.c where we can get in an infinite loop. Fixed return value comment in wolfSSL_PEM_write_bio.

'ret' could be set to non-zero inside the loop and the 'cmac->bufferSz' never gets reset causing 'add' to become 0 in the subsequent loop.
@bandi13 bandi13 self-assigned this May 9, 2024
Will return 0 on failure.
@bandi13 bandi13 assigned wolfSSL-Bot and unassigned bandi13 May 11, 2024
@dgarske dgarske merged commit 568fda0 into wolfSSL:master May 13, 2024
115 checks passed
@bandi13 bandi13 deleted the bugFixes branch May 14, 2024 14:41
jefferyq2 pushed a commit to jefferyq2/wolfssl that referenced this pull request Jun 9, 2024
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.

4 participants