error 0 crypto_encrypt_open does not handle c=t overlap ==942== Memcheck, a memory error detector ==942== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==942== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info ==942== Command: ./try ==942== ==942== Conditional jump or move depends on uninitialised value(s) ==942== at 0x4C32734: __memcmp_sse4_1 (vg_replace_strmem.c:1112) ==942== by 0x4017D9: test (try.c:151) ==942== by 0x401EB2: main (try-anything.c:295) ==942== Uninitialised value was created by a stack allocation ==942== at 0x4039B0: crypto_symenc_decrypt (crypto.c:102) ==942== ==942== ==942== HEAP SUMMARY: ==942== in use at exit: 7,145,392 bytes in 12 blocks ==942== total heap usage: 2,118 allocs, 2,106 frees, 7,254,112 bytes allocated ==942== ==942== LEAK SUMMARY: ==942== definitely lost: 0 bytes in 0 blocks ==942== indirectly lost: 0 bytes in 0 blocks ==942== possibly lost: 7,144,960 bytes in 10 blocks ==942== still reachable: 432 bytes in 2 blocks ==942== suppressed: 0 bytes in 0 blocks ==942== Rerun with --leak-check=full to see details of leaked memory ==942== ==942== For lists of detected and suppressed errors, rerun with: -s ==942== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)