[MDEV-17248] Improve ASAN memory pool instrumentation Created: 2018-09-19 Updated: 2018-09-21 Resolved: 2018-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Debug |
| Fix Version/s: | 5.5.62, 10.0.37, 10.2.18, 10.3.10, 10.1.37 |
| Type: | Task | Priority: | Major |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Eugene Kosov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Inside alloc_root() TRASH_ALLOC() unpoisons already aligned size. And f.ex. in case when 6 bytes are requested from MEM_ROOT 8 bytes will be unpoisoned and accessing 1 or 2 bytes after memory block won't be catched by ASAN. |