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 --- unmime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unmime.c') diff --git a/unmime.c b/unmime.c index 35e5a96b..3e2ec521 100644 --- a/unmime.c +++ b/unmime.c @@ -71,7 +71,7 @@ void UnMimeHeader(unsigned char *hdr) /* Note: Decoding is done "in-situ", i.e. without using an * additional buffer for temp. storage. This is possible, since the * decoded string will always be shorter than the encoded string, - * due to the en- coding scheme. + * due to the encoding scheme. */ int state = S_COPY_PLAIN; @@ -171,7 +171,7 @@ void UnMimeHeader(unsigned char *hdr) int decoded_count; delimsave = *p; *p = '\r'; - decoded_count = from64tobits(p_out, p_in); + decoded_count = from64tobits(p_out, p_in, 0); *p = delimsave; if (decoded_count > 0) p_out += decoded_count; -- cgit v1.2.3