Skip to content

Fix memory leak in SHE tests - #88

Merged
billphipps merged 3 commits into
wolfSSL:mainfrom
bigbrett:quickfix-SHE-leak
Jan 23, 2025
Merged

billphipps merged 3 commits into
wolfSSL:mainfrom
bigbrett:quickfix-SHE-leak

Conversation

@bigbrett

Copy link
Copy Markdown
Contributor

Fixes a memory leak in the SHE tests caused by not freeing the RNG used to generate arbitrary test data.

We weren't running SHE tests under ASAN for some reason. When I turned it on, it flagged the leak.

@bigbrett
bigbrett requested a review from billphipps January 23, 2025 19:19
@billphipps
billphipps merged commit 4c93155 into wolfSSL:main Jan 23, 2025
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