projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa58a7
)
apply memset-0 fix here too.
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 15 Jan 2011 13:05:54 +0000
(14:05 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 15 Jan 2011 13:05:54 +0000
(14:05 +0100)
citadel/modules/pop3/serv_pop3.c
patch
|
blob
|
history
diff --git
a/citadel/modules/pop3/serv_pop3.c
b/citadel/modules/pop3/serv_pop3.c
index 50c2749016b7c28af44e7a9bfbff82f72a2cb07a..55cfc98ecab3f30c1cf63c3d4cb8acb8da64ca9c 100644
(file)
--- a/
citadel/modules/pop3/serv_pop3.c
+++ b/
citadel/modules/pop3/serv_pop3.c
@@
-250,7
+250,7
@@
void pop3_apop(char *argbuf)
strncpy(username, argbuf, sizeof(username)-1);
username[sizeof(username)-1] = '\0';
- memset(userdigest,
MD5_HEXSTRING_SIZE, 0
);
+ memset(userdigest,
0, MD5_HEXSTRING_SIZE
);
strncpy(userdigest, sptr, MD5_HEXSTRING_SIZE-1);
if (CtdlLoginExistingUser(NULL, username) != login_ok)