[New-bugs-announce] [issue41162] Clear audit hooks after destructors
Steve Dower
report at bugs.python.org
Mon Jun 29 12:28:11 EDT 2020
New submission from Steve Dower <steve.dower at python.org>:
Because of when _Py_ClearAuditHooks is called during finalization, it is possible that __del__ destructors will be called after hooks have been cleared. Audit events that would be raised here are dropped.
We should ensure these events are received by any known hooks for the interpreter (Python) or the runtime (C).
(Thanks to Frank Li for the report.)
----------
components: Interpreter Core
messages: 372601
nosy: christian.heimes, steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: Clear audit hooks after destructors
type: security
versions: Python 3.10, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41162>
_______________________________________
More information about the New-bugs-announce
mailing list