From: Daniel Stenberg Date: Tue, 20 Jan 2026 15:26:34 +0000 (+0100) Subject: config2setopts: acknowledge OOM error from CURLOPT_MIMEPOST X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8769845c80eb5065433743308ab530566c75aa2;p=thirdparty%2Fcurl.git config2setopts: acknowledge OOM error from CURLOPT_MIMEPOST It should make curl exit. Found with "strict torture". Closes #20375 --- diff --git a/src/config2setopts.c b/src/config2setopts.c index a023287834..83fa062ef3 100644 --- a/src/config2setopts.c +++ b/src/config2setopts.c @@ -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: