1 Invalid write of size 4
2 at 0x........: main (custom_alloc.c:117)
3 Address 0x........ is 0 bytes after a block of size 40 alloc'd
4 at 0x........: custom_alloc (custom_alloc.c:47)
5 by 0x........: main (custom_alloc.c:114)
7 Invalid write of size 4
8 at 0x........: main (custom_alloc.c:121)
9 Address 0x........ is 0 bytes after a block of size 20 alloc'd
10 at 0x........: custom_alloc (custom_alloc.c:47)
11 by 0x........: main (custom_alloc.c:114)
13 Conditional jump or move depends on uninitialised value(s)
14 at 0x........: main (custom_alloc.c:128)
16 Invalid write of size 4
17 at 0x........: main (custom_alloc.c:131)
18 Address 0x........ is 0 bytes after a block of size 28 alloc'd
19 at 0x........: custom_alloc (custom_alloc.c:47)
20 by 0x........: main (custom_alloc.c:114)
22 Invalid free() / delete / delete[] / realloc()
23 at 0x........: main (custom_alloc.c:134)
24 Address 0x........ is 4 bytes inside a block of size 28 alloc'd
25 at 0x........: custom_alloc (custom_alloc.c:47)
26 by 0x........: main (custom_alloc.c:114)
28 Invalid free() / delete / delete[] / realloc()
29 at 0x........: custom_free (custom_alloc.c:54)
30 by 0x........: main (custom_alloc.c:138)
31 Address 0x........ is not stack'd, malloc'd or (recently) free'd
33 Mismatched free() / delete / delete []
34 at 0x........: custom_free (custom_alloc.c:54)
35 by 0x........: main (custom_alloc.c:141)
36 Address 0x........ is 0 bytes inside a block of size 40 alloc'd
37 at 0x........: malloc (vg_replace_malloc.c:...)
38 by 0x........: main (custom_alloc.c:140)
40 Invalid read of size 1
41 at 0x........: main (custom_alloc.c:144)
42 Address 0x........ is 0 bytes inside a block of size 28 free'd
43 at 0x........: custom_free (custom_alloc.c:54)
44 by 0x........: main (custom_alloc.c:136)
46 Invalid write of size 1
47 at 0x........: checkredzone (custom_alloc.c:68)
48 by 0x........: main (custom_alloc.c:151)
49 Address 0x........ is 1 bytes before a block of size 20 alloc'd
50 at 0x........: checkredzone (custom_alloc.c:66)
51 by 0x........: main (custom_alloc.c:151)
53 Invalid write of size 1
54 at 0x........: checkredzone (custom_alloc.c:69)
55 by 0x........: main (custom_alloc.c:151)
56 Address 0x........ is 8 bytes before a block of size 20 alloc'd
57 at 0x........: checkredzone (custom_alloc.c:66)
58 by 0x........: main (custom_alloc.c:151)
60 Invalid write of size 1
61 at 0x........: checkredzone (custom_alloc.c:73)
62 by 0x........: main (custom_alloc.c:151)
63 Address 0x........ is 0 bytes after a block of size 20 alloc'd
64 at 0x........: checkredzone (custom_alloc.c:66)
65 by 0x........: main (custom_alloc.c:151)
67 Invalid write of size 1
68 at 0x........: checkredzone (custom_alloc.c:74)
69 by 0x........: main (custom_alloc.c:151)
70 Address 0x........ is 7 bytes after a block of size 20 alloc'd
71 at 0x........: checkredzone (custom_alloc.c:66)
72 by 0x........: main (custom_alloc.c:151)
74 Invalid write of size 1
75 at 0x........: checkredzone (custom_alloc.c:83)
76 by 0x........: main (custom_alloc.c:151)
77 Address 0x........ is 1 bytes before a recently re-allocated block of size 10 alloc'd
78 at 0x........: checkredzone (custom_alloc.c:81)
79 by 0x........: main (custom_alloc.c:151)
81 Invalid write of size 1
82 at 0x........: checkredzone (custom_alloc.c:84)
83 by 0x........: main (custom_alloc.c:151)
84 Address 0x........ is 8 bytes before a recently re-allocated block of size 10 alloc'd
85 at 0x........: checkredzone (custom_alloc.c:81)
86 by 0x........: main (custom_alloc.c:151)
88 Invalid write of size 1
89 at 0x........: checkredzone (custom_alloc.c:88)
90 by 0x........: main (custom_alloc.c:151)
91 Address 0x........ is 0 bytes after a recently re-allocated block of size 10 alloc'd
92 at 0x........: checkredzone (custom_alloc.c:81)
93 by 0x........: main (custom_alloc.c:151)
95 Invalid write of size 1
96 at 0x........: checkredzone (custom_alloc.c:89)
97 by 0x........: main (custom_alloc.c:151)
98 Address 0x........ is 7 bytes after a recently re-allocated block of size 10 alloc'd
99 at 0x........: checkredzone (custom_alloc.c:81)
100 by 0x........: main (custom_alloc.c:151)
102 Invalid write of size 1
103 at 0x........: checkredzone (custom_alloc.c:90)
104 by 0x........: main (custom_alloc.c:151)
105 Address 0x........ is 8 bytes after a recently re-allocated block of size 10 alloc'd
106 at 0x........: checkredzone (custom_alloc.c:81)
107 by 0x........: main (custom_alloc.c:151)