diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-10-03 11:49:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-10-03 11:49:04 +0000 |
commit | 1405a0444d316791af6a473324be754789fb98a1 (patch) | |
tree | c617c845fd630dcdef6d7a5c607b6ce13f20ed3c /unmime.c | |
parent | b5abbf75ceef070108e4e82218953e74899d7e2b (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |