diff options
author | June McEnroe <june@causal.agency> | 2019-11-21 16:26:08 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-21 16:26:08 -0500 |
commit | 407adf0ddd1be0b80de206d012b944b8113d02d2 (patch) | |
tree | eb3d6cccf90ed594f07ccfcb8013d9438aa2c9ce | |
parent | Use a static buffer for plainBase64 (diff) | |
download | pounce-407adf0ddd1be0b80de206d012b944b8113d02d2.tar.gz pounce-407adf0ddd1be0b80de206d012b944b8113d02d2.zip |
Zero temporary SASL PLAIN buffer
Diffstat (limited to '')
-rw-r--r-- | state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/state.c b/state.c index 09156ff..154e16d 100644 --- a/state.c +++ b/state.c @@ -60,6 +60,7 @@ void stateLogin( buf[1 + i] = (plain[i] == ':' ? 0 : plain[i]); } base64(plainBase64, buf, len); + explicit_bzero(buf, sizeof(buf)); } } serverFormat("NICK %s\r\n", nick); |