summaryrefslogtreecommitdiffhomepage
path: root/test/python/ctx_iter_atexit
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-11-10 07:38:43 +0300
committerValentin Bartenev <vbart@nginx.com>2018-11-10 07:38:43 +0300
commit4f4a2d8c63e55401fe0fccb47d747701cdf3171e (patch)
treeecef9f7c0e35044b7013acc9752995f1cb06b2a1 /test/python/ctx_iter_atexit
parent4a77c447babd494b66156c43796deabaa47697a3 (diff)
downloadunit-4f4a2d8c63e55401fe0fccb47d747701cdf3171e.tar.gz
unit-4f4a2d8c63e55401fe0fccb47d747701cdf3171e.tar.bz2
Fixed "freed pointer is out of pool" alerts.
The issue was caused by misplacement of allocated blocks in rbtree due to broken comparison function if the distance between two allocations did not fit into intptr_t. As the result, nxt_mp_free() could have failed to find the allocation. In particular, it was mostly observed when Unit was compiled with musl C library on 32-bits systems. This closes #118 issue on GitHub.
Diffstat (limited to 'test/python/ctx_iter_atexit')
0 files changed, 0 insertions, 0 deletions