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/operator_new_uaf_crash.cpp
Reported by timurrrr@google.com on 2013-02-08 09:39:04
Originally reported on Google Code with ID 156
Reported by
timurrrr@google.com
on 2013-02-08 09:39:04