summaryrefslogtreecommitdiffstats
path: root/src/base64.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-14base64: Prevent use of strlen() in base64decode when input buffer size is knownGravatar Nikias Bassen1-7/+8
2016-10-31base64: Prevent buffer overflow by not decoding blocks with less than 4 charsGravatar Filippo Bigarella1-1/+1
2016-10-22Remove libxml2 dependency in favor of custom XML parsingGravatar Nikias Bassen1-11/+11
2013-12-13base64: silence compiler warning by using correct typeGravatar Nikias Bassen1-1/+2
2013-11-12base64: get rid of strtok_r and use strspn+strcspn insteadGravatar Nikias Bassen1-13/+14
strtok_r is not available on win32 and the designated strtok_s function is reported to not work on windows xp. Hence we use an easier an non-destructive implementation with strspn and strcspn to strip out the whitespace.
2013-11-12base64: fix compilation with win32Gravatar Nikias Bassen1-0/+4
this is a temporary fix, we'll replace strtok_r with a custom implementation soon.
2013-10-09base64: use strtok_r instead of strtok to make sure we're thread safeGravatar Nikias Bassen1-2/+3
2012-01-12fix compiler warningsGravatar Nikias Bassen1-3/+3
2011-06-01Fix base64 encodingGravatar Nikias Bassen1-8/+6
2011-05-29use signed char instead of int8_tGravatar Nikias Bassen1-1/+1
2011-05-27Make libplist glib freeGravatar Nikias Bassen1-0/+127