Status: Accepted
Owner:
euge...@google.com
Labels: Type-Defect Priority-Medium
New issue 73 by
euge...@google.com: MsanReallocate does not handle origins
correctly
https://code.google.com/p/memory-sanitizer/issues/detail?id=73
There is a number of issues in how MsanReallocate handles origins:
1. In the in-place grow case __msan_poison is used w/o setting origin for
the new memory at all
2. In the copy-realloc case __msan_memcpy is used. __msan_memcpy unwinds
stack, which only works correctly when called from the user code entry
point. All __msan_memcpy calls from msan runtime code are bugs and must be
replaced with CopyShadow.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings