aboutsummaryrefslogtreecommitdiffstats
path: root/cram.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-10-03 11:49:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-10-03 11:49:04 +0000
commit1405a0444d316791af6a473324be754789fb98a1 (patch)
treec617c845fd630dcdef6d7a5c607b6ce13f20ed3c /cram.c
parentb5abbf75ceef070108e4e82218953e74899d7e2b (diff)
downloadfetchmail-1405a0444d316791af6a473324be754789fb98a1.tar.gz
fetchmail-1405a0444d316791af6a473324be754789fb98a1.tar.bz2
fetchmail-1405a0444d316791af6a473324be754789fb98a1.zip
Security audit fix.
svn path=/trunk/; revision=3534
Diffstat (limited to 'cram.c')
-rw-r--r--cram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cram.c b/cram.c
index c58533cc..d06df7f5 100644
--- a/cram.c
+++ b/cram.c
@@ -89,7 +89,7 @@ int do_cram_md5 (int sock, char *command, struct query *ctl, char *strip)
respdata = buf1;
if (strip && strncmp(buf1, strip, strlen(strip)) == 0)
respdata += strlen(strip);
- len = from64tobits (msg_id, respdata);
+ len = from64tobits (msg_id, respdata, sizeof(msg_id));
if (len < 0) {
report (stderr, GT_("could not decode BASE64 challenge\n"));