Issue 24061: Python 2.x breaks with address sanitizer (original) (raw)

Issue24061

Created on 2015-04-26 13:17 by hanno, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.7.9-workaround-asan.diff hanno,2015-04-26 13:17 patch / address sanitizer workaround
Messages (2)
msg242055 - (view) Author: Hanno Boeck (hanno) * Date: 2015-04-26 13:17
Right now it is not possible to build python 2.7.9 with address sanitizer. This issue has been worked around for python 3 in bug #18596 by marking some functions with attributes to tell address sanitizer to ignore them. I have attached a patch that will apply the same workaround to python 2.7. I'd apprechiate if this could be applied before the next python 2 release. Although it's the "old" python 2 version I think this is important enough to be backported.
msg242088 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-04-27 00:35
New changeset 4234b0dd2a54 by Benjamin Peterson in branch '2.7': allow 2.7 to be built with asan (closes #24061) https://hg.python.org/cpython/rev/4234b0dd2a54
History
Date User Action Args
2022-04-11 14:58:16 admin set github: 68249
2015-04-27 00:35:05 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2015-04-26 21:42:52 ned.deily set nosy: + benjamin.peterson
2015-04-26 13:17:44 hanno set type: enhancement
2015-04-26 13:17:30 hanno create