examples: Make sure buffer is initialized.

This commit is contained in:
Andreas Schneider
2014-01-07 09:19:02 +01:00
parent c9a1be5a85
commit ebfdfd9a14

View File

@@ -61,7 +61,7 @@ static void torture_request_env(void **state)
{
ssh_session session = *state;
ssh_channel c;
char buffer[4096];
char buffer[4096] = {0};
int nbytes;
int rc;
int lang_found = 0;