mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-142664: fix UAF in memoryview.__hash__ via re-entrant data's __hash__ (#143217)
This commit is contained in:
parent
7726119651
commit
00e24b80e0
3 changed files with 27 additions and 3 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Fix a use-after-free crash in :meth:`memoryview.__hash__ <object.__hash__>`
|
||||
when the ``__hash__`` method of the referenced object mutates that object or
|
||||
the view. Patch by Bénédikt Tran.
|
||||
Loading…
Add table
Add a link
Reference in a new issue