mirror of https://github.com/mamba-org/mamba.git
Fixed uninitialized variable in curl handler (#3669)
This commit is contained in:
parent
178593351b
commit
4c5c1d7430
|
@ -240,7 +240,7 @@ namespace mamba::download
|
|||
}
|
||||
|
||||
// Set error buffer
|
||||
m_errorbuffer[0] = '\0';
|
||||
std::fill(m_errorbuffer.begin(), m_errorbuffer.end(), '\0');
|
||||
set_opt(CURLOPT_ERRORBUFFER, m_errorbuffer.data());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue