==23653== Memcheck, a memory error detector ==23653== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==23653== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==23653== Command: pkcs11-tool --module /usr/lib64/pkcs11/libsofthsm2.so --keypairgen --key-type EC:secp384r1 --pin 12345678 --login --label test15 ==23653== Using slot 0 with a present token (0x0) ==23653== Use of uninitialised value of size 8 ==23653== at 0x37E2248131: _itoa_word (_itoa.c:180) ==23653== by 0x37E224CC21: vfprintf (vfprintf.c:1641) ==23653== by 0x37E230FD05: __printf_chk (printf_chk.c:35) ==23653== by 0x40BBA5: UnknownInlinedFun (stdio2.h:104) ==23653== by 0x40BBA5: show_key (pkcs11-tool.c:2606) ==23653== by 0x40BBA5: show_object (pkcs11-tool.c:2397) ==23653== by 0x40C5C8: gen_keypair (pkcs11-tool.c:1605) ==23653== by 0x405443: main (pkcs11-tool.c:814) ==23653== ==23653== Conditional jump or move depends on uninitialised value(s) ==23653== at 0x37E2248138: _itoa_word (_itoa.c:180) ==23653== by 0x37E224CC21: vfprintf (vfprintf.c:1641) ==23653== by 0x37E230FD05: __printf_chk (printf_chk.c:35) ==23653== by 0x40BBA5: UnknownInlinedFun (stdio2.h:104) ==23653== by 0x40BBA5: show_key (pkcs11-tool.c:2606) ==23653== by 0x40BBA5: show_object (pkcs11-tool.c:2397) ==23653== by 0x40C5C8: gen_keypair (pkcs11-tool.c:1605) ==23653== by 0x405443: main (pkcs11-tool.c:814) ==23653== ==23653== Conditional jump or move depends on uninitialised value(s) ==23653== at 0x37E224CC92: vfprintf (vfprintf.c:1641) ==23653== by 0x37E230FD05: __printf_chk (printf_chk.c:35) ==23653== by 0x40BBA5: UnknownInlinedFun (stdio2.h:104) ==23653== by 0x40BBA5: show_key (pkcs11-tool.c:2606) ==23653== by 0x40BBA5: show_object (pkcs11-tool.c:2397) ==23653== by 0x40C5C8: gen_keypair (pkcs11-tool.c:1605) ==23653== by 0x405443: main (pkcs11-tool.c:814) ==23653== ==23653== Conditional jump or move depends on uninitialised value(s) ==23653== at 0x37E224C7BE: vfprintf (vfprintf.c:1641) ==23653== by 0x37E230FD05: __printf_chk (printf_chk.c:35) ==23653== by 0x40BBA5: UnknownInlinedFun (stdio2.h:104) ==23653== by 0x40BBA5: show_key (pkcs11-tool.c:2606) ==23653== by 0x40BBA5: show_object (pkcs11-tool.c:2397) ==23653== by 0x40C5C8: gen_keypair (pkcs11-tool.c:1605) ==23653== by 0x405443: main (pkcs11-tool.c:814) ==23653== ==23653== Conditional jump or move depends on uninitialised value(s) ==23653== at 0x37E224C84E: vfprintf (vfprintf.c:1641) ==23653== by 0x37E230FD05: __printf_chk (printf_chk.c:35) ==23653== by 0x40BBA5: UnknownInlinedFun (stdio2.h:104) ==23653== by 0x40BBA5: show_key (pkcs11-tool.c:2606) ==23653== by 0x40BBA5: show_object (pkcs11-tool.c:2397) ==23653== by 0x40C5C8: gen_keypair (pkcs11-tool.c:1605) ==23653== by 0x405443: main (pkcs11-tool.c:814) ==23653== Key pair generated: Private Key Object; EC label: test15 Usage: decrypt, sign, unwrap Public Key Object; EC EC_POINT 384 bits EC_POINT: 046104e544ac57b2de5a45666e32876b634fed2322deec62e3352d107a667b009c87f9249a17702f11000b9c2f417fe233608cbd3aa336a1058064a9a41717021084603fda9888e2f28ef5f1f953203d6506bc03b7b03b0d3bacb95a9c314b759f4aa6 EC_PARAMS: 06052b81040022 label: test15 Usage: encrypt, verify, wrap ==23653== ==23653== HEAP SUMMARY: ==23653== in use at exit: 13,866 bytes in 41 blocks ==23653== total heap usage: 14,837 allocs, 14,796 frees, 943,918 bytes allocated ==23653== ==23653== LEAK SUMMARY: ==23653== definitely lost: 2 bytes in 2 blocks ==23653== indirectly lost: 0 bytes in 0 blocks ==23653== possibly lost: 0 bytes in 0 blocks ==23653== still reachable: 13,864 bytes in 39 blocks ==23653== suppressed: 0 bytes in 0 blocks ==23653== Rerun with --leak-check=full to see details of leaked memory ==23653== ==23653== For counts of detected and suppressed errors, rerun with: -v ==23653== Use --track-origins=yes to see where uninitialised values come from ==23653== ERROR SUMMARY: 94 errors from 5 contexts (suppressed: 0 from 0)