Skip to content

http2:set_transfer_url() return early on OOM - #8100

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/http2-set-url
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/http2-set-url

Conversation

@bagder

@bagder bagder commented Dec 6, 2021

Copy link
Copy Markdown
Member

If curl_url() returns NULL this should return early to avoid mistakes -
even if right now the subsequent function invokes are all OK.

Coverity (wrongly) pointed out this as a NULL deref.

If curl_url() returns NULL this should return early to avoid mistakes -
even if right now the subsequent function invokes are all OK.

Coverity (wrongly) pointed out this as a NULL deref.
@bagder bagder added the HTTP/2 label Dec 6, 2021
@bagder bagder closed this in b3f9c1a Dec 6, 2021
@bagder
bagder deleted the bagder/http2-set-url branch December 6, 2021 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant