From f8769845c80eb5065433743308ab530566c75aa2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Jan 2026 16:26:34 +0100 Subject: [PATCH] config2setopts: acknowledge OOM error from CURLOPT_MIMEPOST It should make curl exit. Found with "strict torture". Closes #20375 --- src/config2setopts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: