mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
examples: Make sure buffer is initialized.
This commit is contained in:
@@ -61,7 +61,7 @@ static void torture_request_env(void **state)
|
|||||||
{
|
{
|
||||||
ssh_session session = *state;
|
ssh_session session = *state;
|
||||||
ssh_channel c;
|
ssh_channel c;
|
||||||
char buffer[4096];
|
char buffer[4096] = {0};
|
||||||
int nbytes;
|
int nbytes;
|
||||||
int rc;
|
int rc;
|
||||||
int lang_found = 0;
|
int lang_found = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user