From: Pascal S. <ps...@st...> - 2008-07-15 07:45:26
|
Hi Chri While testing my changes for the keygen I discovered a small memory leak in libotp.c:otp_decrypt around line 787 You allocate memory with the strdup function in this line: gsize testpos = g_ascii_strtoull( strdup(m_array[0]), NULL, 10); But you because you don't use a variable you are not able to free that memory again and so at every decryption some bytes are lost. Cheers, Pasci |