From: Julian Seward Date: Sat, 8 Nov 2008 15:12:48 +0000 (+0000) Subject: Update expected output now that Memcheck's realloc implementation always X-Git-Tag: svn/VALGRIND_3_4_0~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1dc2a9f7dc16a70c497eeaeed935d4892a29391;p=thirdparty%2Fvalgrind.git Update expected output now that Memcheck's realloc implementation always moves the block, even when the new block is smaller or the same size. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8742 --- diff --git a/memcheck/tests/malloc_free_fill.stderr.exp b/memcheck/tests/malloc_free_fill.stderr.exp index 5f6f019411..bf9f2c1a35 100644 --- a/memcheck/tests/malloc_free_fill.stderr.exp +++ b/memcheck/tests/malloc_free_fill.stderr.exp @@ -45,7 +45,9 @@ test realloc-smaller: 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