|
From: <sv...@va...> - 2008-11-08 15:12:56
|
Author: sewardj
Date: 2008-11-08 15:12:48 +0000 (Sat, 08 Nov 2008)
New Revision: 8742
Log:
Update expected output now that Memcheck's realloc implementation always
moves the block, even when the new block is smaller or the same size.
Modified:
trunk/memcheck/tests/malloc_free_fill.stderr.exp
Modified: trunk/memcheck/tests/malloc_free_fill.stderr.exp
===================================================================
--- trunk/memcheck/tests/malloc_free_fill.stderr.exp 2008-11-08 15:11:03 UTC (rev 8741)
+++ trunk/memcheck/tests/malloc_free_fill.stderr.exp 2008-11-08 15:12:48 UTC (rev 8742)
@@ -45,7 +45,9 @@
Invalid read of size 4
at 0x........: main (malloc_free_fill.c:49)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
+ Address 0x........ is 104 bytes inside a block of size 120 free'd
+ at 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: main (malloc_free_fill.c:47)
(should be free-filled) oldr[26] = 77777777
test calloc:
(should be zero) a[42] = 0
|