about summary refs log tree commit diff
path: root/rfc2045.c
Commit message (Collapse)AuthorAgeFilesLines
* rfc2045: blaze822_multipart: parse rest when boundary is missingLeah Neukirchen2020-12-091-2/+2
| | | | | Either the mail got truncated or was wrongly generated, try to go on by taking the remains of the buffer as part.
* rfc2045: mymemmemnl: make more check idiomaticLeah Neukirchen2020-11-121-1/+1
|
* rfc2045: fix overread in blaze822_mime_parameterLeah Neukirchen2020-11-121-0/+2
| | | | This triggered an invalid read in strchr on 'Content-Type: text/html; '
* rfc2045: ensure mime boundaries end with a newline or -Leah Neukirchen2020-11-121-2/+22
|
* blaze822_walk_mime: limit recursion depthLeah Neukirchen2020-05-091-0/+3
|
* rfc2045: blaze822_multipart: avoid buffer overflow on empty MIME partLeah Neukirchen2018-02-121-0/+2
|
* use appropriate integer typesLeah Neukirchen2017-10-061-1/+1
| | | | Mainly found with clang -Wconversion -Wshorten-64-to-32.
* styleLeah Neukirchen2017-08-311-2/+2
|
* clean up whitespaceLeah Neukirchen2017-01-261-2/+2
|
* rfc2047: only decode _ as spaces when decoding headersChristian Neukirchen2016-11-081-1/+1
|
* rfc2045: the (CR)LF before the boundary belongs to the boundaryChristian Neukirchen2016-08-061-0/+5
|
* rfc2045: import walk_mimeChristian Neukirchen2016-08-021-0/+34
|
* rfc2045: relax MIME checkChristian Neukirchen2016-07-291-2/+7
| | | | | Some mails don't have MIME-Version: 1.0, having Content-Transfer-Encoding shall be good enough either
* rfc2045: put default content type into writable sectionChristian Neukirchen2016-07-291-1/+4
|
* rfc2045: downcase mime typeChristian Neukirchen2016-07-291-1/+3
|
* cleanupsChristian Neukirchen2016-07-261-1/+1
|
* str*casecmp is in <strings.h>Christian Neukirchen2016-07-261-0/+1
|
* import musl memmemChristian Neukirchen2016-07-261-4/+2
|
* mshow: extract file name logicChristian Neukirchen2016-07-201-0/+2
|
* clean up header includesChristian Neukirchen2016-07-181-0/+3
|
* rfc2045: blaze822_multipart: use blaze822_mime_parameterChristian Neukirchen2016-07-161-37/+8
|
* rfc2045: add blaze822_mime_parameterChristian Neukirchen2016-07-161-0/+41
|
* rfc2045: fix parsing of unquoted boundariesChristian Neukirchen2016-07-161-1/+0
|
* rfc2045: return 0 when no body is found in blaze822_mime_bodyChristian Neukirchen2016-07-141-1/+2
|
* rfc2045: new parameter for blaze822_mime_body to allow freeing of new chunkChristian Neukirchen2016-07-131-4/+9
|
* rfc2045: blaze822_mime_body: zero output fields when no body is thereChristian Neukirchen2016-07-131-1/+4
|
* rfc2045: blaze822_multipart: \0 also terminates boundaryChristian Neukirchen2016-07-131-1/+1
|
* rfc2045: fix crlf after boundaryChristian Neukirchen2016-07-131-1/+3
|
* add rfc2045 and multipart decodingChristian Neukirchen2016-07-131-0/+131