Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Dec 1, 2025

No description provided.

@bagder bagder marked this pull request as ready for review December 1, 2025 08:27
@bagder
Copy link
Member Author

bagder commented Dec 1, 2025

augment review

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestion posted.

Comment augment review to trigger a new review at any time.

lib/url.c Outdated
uc = curl_url_get(uhp, CURLUPART_USER, &proxyuser, CURLU_URLDECODE);
if(uc && (uc != CURLUE_NO_USER))
if(uc && (uc != CURLUE_NO_USER)) {
result = CURLE_OUT_OF_MEMORY;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting result to CURLE_OUT_OF_MEMORY for any curl_url_get error (other than CURLUE_NO_USER) may misreport non-OOM failures, e.g., CURLUE_URLDECODE on bad %-encoding. Consider only mapping CURLUE_OUT_OF_MEMORY to CURLE_OUT_OF_MEMORY and handling other CURLU errors appropriately (also applies to the password case below).

🤖 Was this useful? React with 👍 or 👎

@bagder bagder closed this in cffc912 Dec 1, 2025
@bagder bagder deleted the bagder/parse_proxy-oom branch December 1, 2025 09:19
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.

1 participant