➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 btharper
收信人 btharper
日期 2019-03-10.00:08:40
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1552176520.99.0.273814604607.issue36253@roundup.psfhosted.org>
In-reply-to
内容
When running the builtin test suite with address sanitizer enabled, one of the ctypes tests causes a use after free demonstrating the danger of using a reference to the inside of a deallocated buffer. This use is detected as an error by the address sanitizer and can be replicated with the following; a stack trace from the resulting failure is attached.

export ASAN_OPTIONS="detect_leaks=0"
make clean
./configure --with-address-sanitizer --with-pydebug
make
./python Lib/ctypes/test/test_stringptr.py StringPtrTestCase -v
历史
日期 用户 动作 参数
2019-03-10 00:08:41btharper修改recipients: + btharper
2019-03-10 00:08:40btharper修改messageid: <1552176520.99.0.273814604607.issue36253@roundup.psfhosted.org>
2019-03-10 00:08:40btharper链接issue36253 messages
2019-03-10 00:08:40btharper创建