Exista vreo regula privind dimensiunea / formatul stringului de intrare pentru functiile crypt() din libcrypt.so?<br><br>Intreb pentru ca, in afara de crypt_base64(), toate celelalte functii crapa cu eroarea:<br><div style="margin-left: 40px;">
<span style="font-family: courier new,monospace;">*** glibc detected *** ./client: munmap_chunk(): invalid pointer: 0x0804b040 ***</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">======= Backtrace: =========</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7e3a61b]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/lib/libcrypto.so(crypt+0x1de)[0xb7f1c003]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/lib/libcrypto.so(crypt_rc2+0x47)[0xb7f1c2fa]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./client[0x8048db6]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7de1450]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./client[0x8048c21]</span><br>
</div><br>Mentionez ca nu ma aflu pe masina virtuala de la voi, ci pe un Ubuntu 8.04.<br><br>Multumesc<br><br>