On Fri, 11 Jun 2004 14:23:18 -0400, An Metet said: > int /* outlen */ > enc64 (char *out, unsigned char *in, int inlen)
Please add an argument for the available size of the buffer OUT and check this length while encoding. Over short or long someone will for sure use your function and forget that he has to allocate at least (((inlen+3)/3)*4+1) for OUT. Shalom-Salam, Werner