aboutsummaryrefslogtreecommitdiffstats
path: root/unmime.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 /unmime.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 'unmime.c')
-rw-r--r--unmime.c4
1 files changed, 2 insertions, 2 deletions
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;