Skip to content
Snippets Groups Projects
Commit 9f0602c6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Zero-Iniitalize err_len

If call to GetAttributeString() fails, err_len can contain garbage.
parent 9734d0dd
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -49,7 +49,7 @@ cryptlib_error_message(int status, const char *msg)
char str[64];
char str2[64];
char *errmsg;
int err_len;
int err_len = 0;
sprintf(str, "Error %d %s\r\n\r\n", status, msg);
pthread_mutex_lock(&ssh_mutex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment