aboutsummaryrefslogtreecommitdiff
path: root/lib/base64.c
AgeCommit message (Collapse)Author
2006-10-17Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg
could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values.
2006-07-19Fix compiler warningsYang Tse
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-02-28Fix for a base64 decode heap buffer overflow vulnerability.Dan Fandrich
2005-02-22Curl_base64_decode() now returns an allocated bufferDaniel Stenberg
2004-12-15Add 'const' to immutable arrays.Dan Fandrich
2004-06-24Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg
precaution to prevent mistakes to lead to buffer overflows.
2004-05-12make sure the returned pointer is NULL when encoding failsDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-03-01removed an unnecessary shift and splut up som weird two-statements-per-lineDaniel Stenberg
code
2004-02-23oops, the decode() function got its arguments reversed in my cleanupDaniel Stenberg
operation!
2004-02-23More size_t cleanups in the base64 functions.Daniel Stenberg
2004-02-23The base64 encode function now takes a size_t for size, not an int asDaniel Stenberg
previously.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-06-26We noe use CURLDEBUG instead of MALLOCDEBUGDaniel Stenberg
2003-06-11made a nicer output for the decode test, as it served as a nice tool for me ;-)Daniel Stenberg
2003-06-11Initial take at NTLM authentication. It doesn't really work at this pointDaniel Stenberg
but the infrastructure is there.
2003-02-13Christopher R. Palmer fixed Curl_base64_encode() to deal with zeroes in theDaniel Stenberg
data to encode.
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2003-01-09proper indentDaniel Stenberg
2003-01-06indent fixDaniel Stenberg
2002-12-19Curl_base64_decode() fixed by Matthew BDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-24include setup.h properly, not config.hDaniel Stenberg
2001-08-14#include <curl/mprintf.h>Daniel Stenberg
2001-08-03Andrew Francis base64 decode, my previous base64 encoder, new source header.Daniel Stenberg
No BSD-style license.
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2000-10-09added memory debugging include fileDaniel Stenberg
2000-09-28replaced the old base64 stuff with the new onesDaniel Stenberg
2000-09-21new interface to the base64 encoderDaniel Stenberg
2000-06-20haxx.nu => haxx.seDaniel Stenberg
1999-12-29Initial revisionDaniel Stenberg