Change #247871
| Category | curl |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Fri 07 Nov 2025 11:12:34 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 40b1724f58311a472b195dedd269deb1fd84405e |
Comments
tool: consider (some) curl_easy_setopt errors fatal Instead of happily ignoring return codes. Calls that allocate data, like duplicating strings, can fail because of lack of memory which could then leave the option unset and curl would unknowingly continue (if the memory shortage was momentary). Closes #19385
Changed files
- src/config2setopts.c
- src/tool_findfile.c
- src/tool_setopt.c
- src/tool_setopt.h
- src/tool_ssls.c