[issue36218] .sort() segfaults consistently on crafted input
Lysandros Nikolaou
report at bugs.python.org
Wed Mar 6 17:16:26 EST 2019
Lysandros Nikolaou <lisandrosnik at gmail.com> added the comment:
Can confirm for 3.7.2 on my macOS 10.14 system. Although this is the case in 3.7 on my current build of the master branch I get the following AssertionError instead:
Assertion failed: (v->ob_type == w->ob_type), function unsafe_tuple_compare, file Objects/listobject.c, line 2164
It seems like the AssertionError gets thrown in unsafe_tuple_compare().
Link: https://github.com/python/cpython/blob/dc078947a5033a048d804e244e847b5844734439/Objects/listobject.c#L2164
----------
nosy: +lys.nikolaou
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36218>
_______________________________________
More information about the Python-bugs-list
mailing list