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

libfuzzer: sync cleanup-function for certificate-chains, make compile-options easier #121

Merged
merged 8 commits into from
Sep 4, 2023

Conversation

linderd
Copy link
Contributor

@linderd linderd commented Aug 29, 2023

found by libfuzzer: on specific input, a pointer to a buffer for a certificate could be overwritten by another certificate, so it can't be freed afterwards. naive workaround: free the buffer before overwriting.

@linderd linderd marked this pull request as ready for review August 30, 2023 11:33
iked/ikev2_pld.c Outdated Show resolved Hide resolved
@linderd linderd changed the title fix possible memory-leak in cert-handling libfuzzer: sync cleanup-function for certificate-chains, make compile-options easier Sep 4, 2023
@tobhe tobhe merged commit 14699d8 into openiked:master Sep 4, 2023
8 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.

2 participants