diff options
author | Nikias Bassen | 2013-02-20 18:03:42 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-02-20 18:03:42 +0100 |
commit | d86c2a34bdaa37dfd07c8ded8a19afbfc1066949 (patch) | |
tree | ce99c4eb7efd55459f4655356b9b4b3bca720e37 /test/tests/utf-8/S15cx8.vcf | |
parent | f70f1876b9287dc21302ebce4d5374291087fc2b (diff) | |
download | libvformat-d86c2a34bdaa37dfd07c8ded8a19afbfc1066949.tar.gz libvformat-d86c2a34bdaa37dfd07c8ded8a19afbfc1066949.tar.bz2 |
Fix base64 decoding for multi-line data
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.
Diffstat (limited to 'test/tests/utf-8/S15cx8.vcf')
0 files changed, 0 insertions, 0 deletions