Skip to content

Memory leak in case *outlen is zero#970

Merged
bagder merged 1 commit into
curl:masterfrom
mirekfranc:master
Aug 19, 2016
Merged

Memory leak in case *outlen is zero#970
bagder merged 1 commit into
curl:masterfrom
mirekfranc:master

Conversation

@mirekfranc

Copy link
Copy Markdown
Contributor

This was found during static analysis. In case of memory being allocated by Curl_base64_encode, but output length being zero, the memory pointed to by *outptr is never freed.

@mention-bot

Copy link
Copy Markdown

@mirekfranc, thanks for your PR! By analyzing the annotation information on this pull request, we identified @captain-caveman2k, @bagder and @vszakats to be potential reviewers

@bagder bagder merged commit 0796a99 into curl:master Aug 19, 2016
@bagder

bagder commented Aug 19, 2016

Copy link
Copy Markdown
Member

thanks!

@lock lock Bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants