projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3cbb9f
)
that was in fact a memcpy, nice try
author
Pierre Habouzit
<madcoder@debian.org>
Tue, 28 Nov 2006 22:28:05 +0000
(23:28 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Tue, 28 Nov 2006 22:28:05 +0000
(23:28 +0100)
mutt_sasl.c
patch
|
blob
|
history
diff --git
a/mutt_sasl.c
b/mutt_sasl.c
index
f38acda
..
b25db27
100644
(file)
--- a/
mutt_sasl.c
+++ b/
mutt_sasl.c
@@
-302,7
+302,7
@@
static int mutt_sasl_cb_pass(sasl_conn_t *conn __attribute__ ((unused)),
*psecret = xmalloc(sizeof(sasl_secret_t) + len);
(*psecret)->len = len;
- m
_strcpy((char*)(*psecret)->data, len, account->pass
);
+ m
emcpy((char*)(*psecret)->data, account->pass, len
);
return SASL_OK;
}