Skip to content

Remove NULL pointer dereference. - #14701

Closed
moritzbuhl wants to merge 1 commit into
curl:masterfrom
moritzbuhl:if-not-data-failf
Closed

moritzbuhl wants to merge 1 commit into
curl:masterfrom
moritzbuhl:if-not-data-failf

Conversation

@moritzbuhl

Copy link
Copy Markdown
Contributor

If data is NULL, then it does not make sense to pass it to failf.

With Commit 7208ff6 this became if (!data), before it additionally checked if some http struct is available. Nonetheless, the code was wrong before too.

If data is NULL, then it does not make sense to pass it to failf.
@github-actions github-actions Bot added the HTTP/3 h3 or quic related label Aug 27, 2024
@bagder bagder closed this in 8fe1f56 Aug 27, 2024
@bagder

bagder commented Aug 27, 2024

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HTTP/3 h3 or quic related

Development

Successfully merging this pull request may close these issues.

2 participants