From 1405a0444d316791af6a473324be754789fb98a1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Oct 2001 11:49:04 +0000 Subject: Security audit fix. svn path=/trunk/; revision=3534 --- cram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cram.c') 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")); -- cgit v1.2.3