[issue38588] Use-after-free in dict/list
Pablo Galindo Salgado
report at bugs.python.org
Mon Dec 30 20:47:35 EST 2019
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
> Moving INCREF and DECREF is a huge change. It is just a future idea to prevent same type of bugs. I think it can not be backported.
Now I am wondering how many other APIs are affected by the same pattern other than PyObject_RichCompareBool....
> To fix this issue with minimum performance regression, I think PR 17766 is the best solution. So no need to revert PR 17734.
Thanks for the quick fix and the analysis. I reviewed PR 17734.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38588>
_______________________________________
More information about the Python-bugs-list
mailing list