==823== Invalid read of size 1 ==823== at 0x4004E2: main (test.c:16) ==823== Address 0x4c2104a is 0 bytes after a block of size 10 alloc'd ==823== at 0x4A05E5D: malloc (vg_replace_malloc.c:195) ==823== by 0x4004D5: main (test.c:15) ==823== ==823== Invalid write of size 1 ==823== at 0x4004F3: main (test.c:17) ==823== Address 0x4c2104a is 0 bytes after a block of size 10 alloc'd ==823== at 0x4A05E5D: malloc (vg_replace_malloc.c:195) ==823== by 0x4004D5: main (test.c:15) ==823==