aboutsummaryrefslogtreecommitdiff
path: root/lib/getenv.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-30 07:31:22 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-10-30 07:31:22 +0000
commite17c1b25bc33ebcbb4e11ecbad63188ccaa0c3bd (patch)
tree436b382666972b1c8b94427efde9890ada09869c /lib/getenv.c
parent7d1eb66cd72879bd909188d9e7c3cf05f13017b3 (diff)
base64: Added basic validation to base64 input string when decoding
A base64 string should be a multiple of 4 characters in length, not contain any more than 2 padding characters and only contain padding characters at the end of string. For example: Y3VybA== Strings such as the following are considered invalid: Y= - Invalid length Y== - Invalid length Y=== - More than two padding characters Y=x= - Padding character contained within string
Diffstat (limited to 'lib/getenv.c')
0 files changed, 0 insertions, 0 deletions