projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* be more paranoid about the previous content of passvoid buffers
[citadel.git]
/
citadel
/
modules
/
jabber
/
xmpp_sasl_service.c
diff --git
a/citadel/modules/jabber/xmpp_sasl_service.c
b/citadel/modules/jabber/xmpp_sasl_service.c
index 6497f8101ca4db4aa405ce01437b2e39304856c6..f425c4be243209efbc18d146b227eb2772357a8a 100644
(file)
--- a/
citadel/modules/jabber/xmpp_sasl_service.c
+++ b/
citadel/modules/jabber/xmpp_sasl_service.c
@@
-62,6
+62,7
@@
int xmpp_auth_plain(char *authstring)
/* Take apart the authentication string */
+ memset(pass, 0, sizeof(pass));
CtdlDecodeBase64(decoded_authstring, authstring, strlen(authstring));
safestrncpy(ident, decoded_authstring, sizeof ident);