mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:47:28 +03:00
config2setopts: acknowledge OOM error from CURLOPT_MIMEPOST
It should make curl exit. Found with "strict torture". Closes #20375
This commit is contained in:
parent
8ce16e7bf2
commit
f8769845c8
1 changed files with 1 additions and 1 deletions
|
|
@ -853,7 +853,7 @@ CURLcode config2setopts(struct OperationConfig *config,
|
|||
else {
|
||||
result = tool2curlmime(curl, config->mimeroot, &config->mimepost);
|
||||
if(!result)
|
||||
my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost);
|
||||
result = my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue