Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
|
|
Option -Werror=format-security of gcc returns several error with regards
to szEndOfLine. Using "\r\n" instead of the ascii codes 0x0D, 0x0A and
0x00 avoid the error.
|
|
According to RFC 2425 paragraph 5.8.1, the leading whitespace on folded lines
must be removed when unfolding happens.
|
|
Copy the content of common/types.h into vformat/vf_iface.h.
Keep common/types.h because some files depends on it.
|
|
|