summaryrefslogtreecommitdiffstats
path: root/src/vf_parser.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-20vf_parser: fix memory corruption due to incorrect pointerHEADmasterGravatar Nikias Bassen1-1/+1
2013-02-20Fix base64 decoding for multi-line dataGravatar Nikias Bassen1-10/+42
The base64 decoder assumed that all data passed to it is a complete base64 blob. However due to the nature of different encoding schemes vformat data can also be spanned over multiple lines, usually prefixed by one or more spaces. The problem arises when a base64 line is broken in a non-by-4-dividable manner. We fix this by storing a remainder if the base64 data is not dividable by 4 and prepend it to the next decode operation.
2013-02-10Remove leading space when unfoldingGravatar Daniele Forsi1-2/+2
According to RFC 2425 paragraph 5.8.1, the leading whitespace on folded lines must be removed when unfolding happens.
2013-02-10Copy common/types.h to vformat/vf_iface.hGravatar Mathias Palm1-1/+0
Copy the content of common/types.h into vformat/vf_iface.h. Keep common/types.h because some files depends on it.
2013-02-10initial commit of 1.13 sourcesGravatar Nikias Bassen1-0/+1182