1
==32575== Invalid read of size 1
2
==32575== at 0x4004E2: main (test.c:16)
3
==32575== Address 0x4c2104a is 0 bytes after a block of size 10 alloc'd
4
==32575== at 0x4A05E5D: malloc (vg_replace_malloc.c:195)
5
==32575== by 0x4004D5: main (test.c:15)
7
==32575== Invalid write of size 1
8
==32575== at 0x4004F3: main (test.c:17)
9
==32575== Address 0x4c2104a is 0 bytes after a block of size 10 alloc'd
10
==32575== at 0x4A05E5D: malloc (vg_replace_malloc.c:195)
11
==32575== by 0x4004D5: main (test.c:15)
13
==32575== 10 bytes in 1 blocks are definitely lost in loss record 1 of 1
14
==32575== at 0x4A05E5D: malloc (vg_replace_malloc.c:195)
15
==32575== by 0x4004D5: main (test.c:15)