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

Replace free with dealloc #9

Merged
merged 3 commits into from
Jul 17, 2016
Merged

Replace free with dealloc #9

merged 3 commits into from
Jul 17, 2016

Conversation

zandbelt
Copy link
Contributor

replace free() calls with cjose_get_dealloc()() where appropriate; additionally fix some memory leaks in the test suite

@linuxwolf linuxwolf merged commit 8361f38 into cisco:master Jul 17, 2016
@zandbelt zandbelt deleted the replace-free-with-dealloc branch July 18, 2016 13:07
vtotad referenced this pull request Aug 2, 2021
* release JWS resources in test code after merging #33

* fix crash when "alg" header is set to non-string; see #47

this would affect cjose_jws_sign as well as cjose_jws_import and is a
potential DoS vector for the latter

Signed-off-by: Hans Zandbelt <[email protected]>
GerHobbelt pushed a commit to GerHobbelt/cjose that referenced this pull request May 10, 2024
Extract cjose_jwe_encrypt_iv to allow explicit IV
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