Skip to content

curl_easy_getinfo, error code on NULL arg#18512

Closed
icing wants to merge 1 commit intocurl:masterfrom
icing:easy_getinfo-errcode
Closed

curl_easy_getinfo, error code on NULL arg#18512
icing wants to merge 1 commit intocurl:masterfrom
icing:easy_getinfo-errcode

Conversation

@icing
Copy link
Copy Markdown
Contributor

@icing icing commented Sep 10, 2025

When passing an address to curl_easy_getinfo to retrieve a value and the address is NULL, return CURLE_BAD_FUNCTION_ARGUMENT instead of CURLE_UNKNOWN_OPTION.

When passing an address to curl_easy_getinfo to retrieve
a value and the address is NULL, return CURLE_BAD_FUNCTION_ARGUMENT
instead of CURLE_UNKNOWN_OPTION.
@bagder bagder closed this in a782867 Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants