passphrase_read: Set buf_iter to NULL so nothing passphrase_read puts on the stack will point to the password for long
This commit is contained in:
parent
ade70ee606
commit
4351ffcbfe
@ -53,6 +53,7 @@ char* freerdp_passphrase_read(const char* prompt, char* buf, size_t bufsiz)
|
||||
}
|
||||
}
|
||||
*buf_iter = '\0';
|
||||
buf_iter = NULL;
|
||||
|
||||
close(term_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user