← Commit list

c1c3487d79

Daniel Stenberg
Daniel Stenberg
2025-12-02
SUCCESS Duration: 169s

Subject

curl_gssapi: make sure Curl_gss_log_error() has an initialized buffer

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/curl_gssapi.c+1 -1
@@ -428,7 +428,7 @@ static size_t display_gss_error(OM_uint32 status, int type,
void Curl_gss_log_error(struct Curl_easy *data, const char *prefix,
OM_uint32 major, OM_uint32 minor)
{
- char buf[GSS_LOG_BUFFER_LEN];
+ char buf[GSS_LOG_BUFFER_LEN] = "";
size_t len = 0;
if(major != GSS_S_FAILURE)