mirror of
https://github.com/curl/curl.git
synced 2026-07-28 05:43:06 +03:00
curl_gssapi: make sure Curl_gss_log_error() has an initialized buffer
Reported-by: Stanislav Fort (Aisle Research) Closes #19802
This commit is contained in:
parent
8dedcce7a3
commit
c1c3487d79
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue