[PATCH] D15008: [sanitizer] Fix a crash in SizeClassAllocator32 with an out-of-range pointer

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 00:40:35 PST 2015


kcc added a comment.

Where is "__sanitizer_get_allocated_size(0xdeadbeefdeadbeef);" called? 
I'd say this is a misuse of the function, you should not pass a pointer outside of the AS there.


http://reviews.llvm.org/D15008





More information about the llvm-commits mailing list