Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from:
ee5cc8e
)
base64dec: skip non-printable characters like \r\n
author
Suraj N. Kurapati <
[email protected]
>
Fri, 18 Aug 2017 06:00:10 +0000
(23:00 -0700)
committer
Hiltjo Posthuma <
[email protected]
>
Fri, 15 Sep 2017 09:13:17 +0000
(11:13 +0200)
Non-printable characters, such as line breaks, in a base64 encoded
string violate the "string length must be a multiple of four" rule.
This patch pads the result buffer by one extra unit of four bytes,
and skips over non-printable characters found in the input string.
No differences found