diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-04 21:56:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-04 21:56:14 +0000 |
commit | 38b2c42f63eaa5fcd6f750aafc756b2a5e5b4395 (patch) | |
tree | a6dbe1eeafb0af8356c66ab8f7101a8c84b070f6 /tmux.c | |
parent | 50bd0948564c64d76acebf8f6c5b4f3ef7b6b4fc (diff) | |
download | rtmux-38b2c42f63eaa5fcd6f750aafc756b2a5e5b4395.tar.gz rtmux-38b2c42f63eaa5fcd6f750aafc756b2a5e5b4395.tar.bz2 rtmux-38b2c42f63eaa5fcd6f750aafc756b2a5e5b4395.zip |
Zero the password given to -U in the client as well.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -421,6 +421,7 @@ main(int argc, char **argv) b = buffer_create(BUFSIZ); if (unlock) { cmd_send_string(b, pass); + memset(pass, 0, strlen(pass)); client_write_server( &cctx, MSG_UNLOCK, BUFFER_OUT(b), BUFFER_USED(b)); } else { |