← Commit list

c898da26c6

x2018
x2018
2025-11-02
SUCCESS Duration: 152s

Subject

http_aws_sigv4: check the return value of curl_maprintf()

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/http_aws_sigv4.c+2 -0
@@ -329,6 +329,8 @@ static CURLcode make_headers(struct Curl_easy *data,
goto fail;
head = tmp_head;
*date_header = curl_maprintf("%s: %s\r\n", date_hdr_key, timestamp);
+ if(!*date_header)
+ goto fail;
}
else {
const char *value;