On Wed, Feb 13, 2013 at 09:37:42PM +0100, Dodji Seketeli wrote: > Hello, > > It appeared that in my previous patch, a stupid thinko can lead to a > crash when instrumenting some builtin functionsK. Fixed thus. > > Tested against trunk on x86_64-unknown-linux-gnu, and a bootstrap is underway. > > gcc/ > * asan.c (instrument_builtin_call): Really put the length of the > second source argument into src1_len. > > gcc/testsuite/ > > * c-c++-common/asan/memcmp-2.c: New test.
Ok, thanks. Jakub