int main(void) {
volatile char *buffer = new char;
delete buffer;
*buffer = 42;
}
->
Should be "Address XXX is 0 bytes inside ...",
actual "Address (XXX+1) is 1 bytes to the right ..."
(since r174376)
See
http://code.google.com/p/address-sanitizer/source/browse/trunk/win/tests/operato
r_new_uaf_crash.cpp
Original issue reported on code.google.com by timurrrr@google.com on 8 Feb 2013 at 9:39
Original issue reported on code.google.com by
timurrrr@google.com
on 8 Feb 2013 at 9:39