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

Back to the top