Message329561
address_in_range() in Objects/obmalloc.c may access memory that is mapped but is considered free by the underlying libc allocator. In #18596, address sanitizing was disabled for this function. But thread and memory sanitizers similarly trip on this function:
WARNING: ThreadSanitizer: heap-use-after-free (pid=24361)
Read of size 4 at 0x7b7c00000020 by main thread:
#0 address_in_range /scratch2/izbyshev/cpython/Objects/obmalloc.c:1312:23 (python+0x59e912)
==3515==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x9713f8 in address_in_range /scratch2/izbyshev/cpython/Objects/obmalloc.c:1313:35
I suggest to disable them for this function as well. |
|
Date |
User |
Action |
Args |
2018-11-09 22:33:27 | izbyshev | set | recipients:
+ izbyshev, vstinner, benjamin.peterson, serhiy.storchaka |
2018-11-09 22:33:27 | izbyshev | set | messageid: <1541802807.41.0.788709270274.issue35204@psf.upfronthosting.co.za> |
2018-11-09 22:33:27 | izbyshev | link | issue35204 messages |
2018-11-09 22:33:27 | izbyshev | create | |
|