==22856== Memcheck, a memory error detector ==22856== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==22856== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==22856== Command: ./test02 ==22856== ==22856== Conditional jump or move depends on uninitialised value(s) ==22856== at 0x4E988DA: vfprintf (vfprintf.c:1642) ==22856== by 0x4EA0F25: printf (printf.c:33) ==22856== by 0x1088A8: junk_data (test02.c:102) ==22856== by 0x1087A5: main (test02.c:35) ==22856== ==22856== Use of uninitialised value of size 8 ==22856== at 0x4E9486B: _itoa_word (_itoa.c:179) ==22856== by 0x4E97F0D: vfprintf (vfprintf.c:1642) ==22856== by 0x4EA0F25: printf (printf.c:33) ==22856== by 0x1088A8: junk_data (test02.c:102) ==22856== by 0x1087A5: main (test02.c:35) ==22856== ==22856== Conditional jump or move depends on uninitialised value(s) ==22856== at 0x4E94875: _itoa_word (_itoa.c:179) ==22856== by 0x4E97F0D: vfprintf (vfprintf.c:1642) ==22856== by 0x4EA0F25: printf (printf.c:33) ==22856== by 0x1088A8: junk_data (test02.c:102) ==22856== by 0x1087A5: main (test02.c:35) ==22856== ==22856== Conditional jump or move depends on uninitialised value(s) ==22856== at 0x4E98014: vfprintf (vfprintf.c:1642) ==22856== by 0x4EA0F25: printf (printf.c:33) ==22856== by 0x1088A8: junk_data (test02.c:102) ==22856== by 0x1087A5: main (test02.c:35) ==22856== ==22856== Conditional jump or move depends on uninitialised value(s) ==22856== at 0x4E98B4C: vfprintf (vfprintf.c:1642) ==22856== by 0x4EA0F25: printf (printf.c:33) ==22856== by 0x1088A8: junk_data (test02.c:102) ==22856== by 0x1087A5: main (test02.c:35) ==22856== TEST02: C version A sample code for analysis by VALGRIND. 0 0 1 2 2 0 3 6 4 8 5 0 6 0 7 0 8 0 9 0 TEST02 Normal end of execution. ==22856== ==22856== HEAP SUMMARY: ==22856== in use at exit: 0 bytes in 0 blocks ==22856== total heap usage: 2 allocs, 2 frees, 4,136 bytes allocated ==22856== ==22856== All heap blocks were freed -- no leaks are possible ==22856== ==22856== For counts of detected and suppressed errors, rerun with: -v ==22856== Use --track-origins=yes to see where uninitialised values come from ==22856== ERROR SUMMARY: 30 errors from 5 contexts (suppressed: 0 from 0)