View difference between Paste ID: 1spmkFrU and U0M3Tv8B
SHOW: | | - or go back to the newest paste.
1
==9314== Memcheck, a memory error detector
2
==9314== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
3
==9314== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
4
==9314== Command: ./ex4
5
==9314== 
6
==9314== Use of uninitialised value of size 4
7
==9314==    at 0x4089EAB: _itoa_word (_itoa.c:179)
8
==9314==    by 0x408D5B3: vfprintf (vfprintf.c:1634)
9
==9314==    by 0x40941EE: printf (printf.c:34)
10
==9314==    by 0x4060714: (below main) (libc-start.c:227)
11
==9314== 
12
==9314== Conditional jump or move depends on uninitialised value(s)
13
==9314==    at 0x4089EB3: _itoa_word (_itoa.c:179)
14
==9314==    by 0x408D5B3: vfprintf (vfprintf.c:1634)
15
==9314==    by 0x40941EE: printf (printf.c:34)
16
==9314==    by 0x4060714: (below main) (libc-start.c:227)
17
==9314== 
18
==9314== Conditional jump or move depends on uninitialised value(s)
19
==9314==    at 0x408ABF5: vfprintf (vfprintf.c:1634)
20
==9314==    by 0x40941EE: printf (printf.c:34)
21
==9314==    by 0x4060714: (below main) (libc-start.c:227)
22
==9314== 
23
==9314== Conditional jump or move depends on uninitialised value(s)
24
==9314==    at 0x408AC71: vfprintf (vfprintf.c:1634)
25
==9314==    by 0x40941EE: printf (printf.c:34)
26
==9314==    by 0x4060714: (below main) (libc-start.c:227)
27
==9314== 
28
==9314== Conditional jump or move depends on uninitialised value(s)
29
==9314==    at 0x408E7B8: vfprintf (vfprintf.c:1634)
30
==9314==    by 0x40941EE: printf (printf.c:34)
31
==9314==    by 0x4060714: (below main) (libc-start.c:227)
32
==9314== 
33
==9314== Conditional jump or move depends on uninitialised value(s)
34
==9314==    at 0x408ACC8: vfprintf (vfprintf.c:1634)
35
==9314==    by 0x40941EE: printf (printf.c:34)
36
==9314==    by 0x4060714: (below main) (libc-start.c:227)
37
==9314== 
38
==9314== Conditional jump or move depends on uninitialised value(s)
39
==9314==    at 0x408AD01: vfprintf (vfprintf.c:1634)
40
==9314==    by 0x40941EE: printf (printf.c:34)
41
==9314==    by 0x4060714: (below main) (libc-start.c:227)
42
==9314== 
43
I am -1092676924 years old.
44
I am 69140480 inches tall.
45
==9314== 
46
==9314== HEAP SUMMARY:
47
==9314==     in use at exit: 0 bytes in 0 blocks
48
==9314==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
49
==9314== 
50
==9314== All heap blocks were freed -- no leaks are possible
51
==9314== 
52
==9314== For counts of detected and suppressed errors, rerun with: -v
53
==9314== Use --track-origins=yes to see where uninitialised values come from
54
==9314== ERROR SUMMARY: 46 errors from 7 contexts (suppressed: 0 from 0)