Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rfc2047: blaze822_decode_rfc2047: fix memory leak of srcenc | Leah Neukirchen | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | rfc2047: blaze822_decode_rfc2047: check for NUL bytes at the very end of ↵ | Leah Neukirchen | 2017-12-05 | 1 | -3/+9 |
| | | | | decoding | ||||
* | rfc2047: blaze822_decode_rfc2047: don't decode encoded-words that contain ↵ | Leah Neukirchen | 2017-12-05 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | NUL bytes This is a lax interpretation of RFC 2047, 4.5: > Only printable and white space character data should be encoded using > this scheme. However, since these encoding schemes allow the > encoding of arbitrary octet values, mail readers that implement this > decoding should also ensure that display of the decoded data on the > recipient's terminal will not cause unwanted side-effects. Since many of the code that deals with header values does not support inline NUL bytes, it's best to not decode them here. We check for this after iconv, so quoted-printable UTF-32 e.g. should be safe. Also see https://www.mailsploit.com/ | ||||
* | rfc2047: blaze822_decide_rfc2047: ensure enough space for NUL-termination | Leah Neukirchen | 2017-11-11 | 1 | -2/+2 |
| | | | | Closes #76. | ||||
* | use appropriate integer types | Leah Neukirchen | 2017-10-06 | 1 | -1/+1 |
| | | | | Mainly found with clang -Wconversion -Wshorten-64-to-32. | ||||
* | rfc2047: blaze822_decode_qp: decode invalid qp-codes as literal | Leah Neukirchen | 2017-09-27 | 1 | -3/+3 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -3/+3 |
| | |||||
* | rfc2047: blaze822_decode_b64: ensure nul-termination of result | Leah Neukirchen | 2017-07-30 | 1 | -1/+3 |
| | | | | Fixes #70. | ||||
* | rfc2047: blaze822_decode_rfc2047: ignore RFC 2231 language tag | Leah Neukirchen | 2017-04-06 | 1 | -0/+3 |
| | |||||
* | rfc2047: only decode _ as spaces when decoding headers | Christian Neukirchen | 2016-11-08 | 1 | -3/+3 |
| | |||||
* | rfc2047: blaze822_decode_qp: don't waste 75% memory | Christian Neukirchen | 2016-11-02 | 1 | -1/+1 |
| | |||||
* | rfc2047: detect partial multibyte sequences and decode them correctly | Christian Neukirchen | 2016-10-14 | 1 | -9/+49 |
| | |||||
* | rfc2047: blaze822_decode_qp: skip =CRLF | Christian Neukirchen | 2016-07-29 | 1 | -0/+2 |
| | |||||
* | rfc2047: allow empty encoded-words | Christian Neukirchen | 2016-07-29 | 1 | -1/+1 |
| | | | | This is non-conforming, but happens in the wild occasionally. | ||||
* | rfc2047: blaze822_decode_rfc2047: initialize dec and decchunk. | Christian Neukirchen | 2016-07-21 | 1 | -2/+2 |
| | | | | Found by clang-analyzer. | ||||
* | clean up header includes | Christian Neukirchen | 2016-07-18 | 1 | -2/+2 |
| | |||||
* | rfc2047: decode ??? on errors | Christian Neukirchen | 2016-07-15 | 1 | -3/+12 |
| | |||||
* | rfc2047: revert in blaze822_decode_b64 | Christian Neukirchen | 2016-07-15 | 1 | -15/+2 |
| | |||||
* | rfc2047: try sliced version of blaze822_decode_b64 (no benefit in practise) | Christian Neukirchen | 2016-07-15 | 1 | -2/+15 |
| | |||||
* | rfc2047: blaze822_decode_b64: check bounds | Christian Neukirchen | 2016-07-14 | 1 | -23/+30 |
| | |||||
* | rfc2047: blaze822_decode_qp: check bounds | Christian Neukirchen | 2016-07-14 | 1 | -1/+5 |
| | |||||
* | rfc2047: blaze822_decode_qp: off-by-one in qp decoding | Christian Neukirchen | 2016-07-13 | 1 | -1/+1 |
| | |||||
* | rfc2047: free all things in blaze822_decode_rfc2047 | Christian Neukirchen | 2016-07-13 | 1 | -2/+8 |
| | |||||
* | blaze822_priv.h: add isfws | Christian Neukirchen | 2016-07-13 | 1 | -2/+2 |
| | |||||
* | blaze822_priv.h: macro cleanup | Christian Neukirchen | 2016-07-13 | 1 | -4/+2 |
| | |||||
* | blaze822: api refactoring | Christian Neukirchen | 2016-07-13 | 1 | -4/+5 |
| | |||||
* | rfc2047: detect iconv_open error properly | Christian Neukirchen | 2016-07-12 | 1 | -3/+1 |
| | |||||
* | rfc2047: suppress common error messages | Christian Neukirchen | 2016-07-12 | 1 | -4/+8 |
| | |||||
* | rfc2047: consistency | Christian Neukirchen | 2016-07-12 | 1 | -2/+5 |
| | |||||
* | rfc2047: better base64 memory bound | Christian Neukirchen | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | rfc2047: avoid tolower | Christian Neukirchen | 2016-07-12 | 1 | -1/+4 |
| | |||||
* | rfc2047: handle uint properly | Christian Neukirchen | 2016-07-12 | 1 | -4/+15 |
| | |||||
* | fix unsigned computation | Christian Neukirchen | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | add rfc2047 decoder | Christian Neukirchen | 2016-07-11 | 1 | -0/+216 |