From: René Scharfe Date: Mon, 01 May 2017 11:55:03 GMT Subject: Re: [PATCH] cache-tree: reject entries with null sha1 Message-ID: <8754b32d-9eec-973d-a225-175085fc7e82@web.de> In-Reply-To: <12c3312c-30a1-2cb1-8f05-63bb663bd0a0@web.de> Am 01.05.2017 um 13:23 schrieb René Scharfe: > But I can't get Valgrind to report overlapping (nicely explained in > http://valgrind.org/docs/manual/mc-manual.html#mc-manual.overlap, by > the way), not for t7009 and not for the short test program at the > bottom. Do you set flags in GIT_VALGRIND_OPTIONS or use a special > version of Valgrind? I use valgrind-3.12.0.SVN from Debian testing. > > Thanks, > René > > > /* Compile with -fno-builtin. */ > #include > int main(void) {int i = 1; memcpy(&i, &i, sizeof(i)); return i;} Actually I can, on Debian stable x86 (Valgrind-3.10.0). Not sure whether it's the older version of Valgrind or the 32-bitness, but it gives me a way to reproduce, so nevermind. René