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

Fix a possible cause of crashes in free() #33

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

pushkarnk
Copy link
Collaborator

@pushkarnk pushkarnk commented Sep 13, 2024

While requesting for the next array of random bytes we were cleary malloc'ing memory of the wrong size (sizeof(length) instead of length).

This commit includes the bug fix and re-enables SecureRandomTest.

@pushkarnk pushkarnk force-pushed the fix-free-crashes branch 8 times, most recently from 459a295 to db8aa2d Compare September 18, 2024 13:29
While requesting for the next array of random bytes
we were cleary malloc'ing memory of the wrong size
(sizeof(length) instead of length).

This commit includes the bug fix and re-enables
SecureRandomTest.
@pushkarnk pushkarnk linked an issue Sep 18, 2024 that may be closed by this pull request
@pushkarnk
Copy link
Collaborator Author

Manually triggered the GitHub Action 5 times. No failures seen.

Merging.

@pushkarnk pushkarnk merged commit 6e78a57 into main Sep 18, 2024
1 check passed
@pushkarnk pushkarnk deleted the fix-free-crashes branch September 30, 2024 11:59
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.

Investigate SecureRandomTest crashes
1 participant