This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [asan] Fix a thinko leading to a crash


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]