]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
authorAndrew Kuchling <amk@amk.ca>
Sat, 22 Jun 2013 18:50:56 +0000 (14:50 -0400)
committerAndrew Kuchling <amk@amk.ca>
Sat, 22 Jun 2013 18:50:56 +0000 (14:50 -0400)
commit9290dd14b02508a667165d2e98f3f99aad61764e
treee17a24c10d220b6e3013ec00ebbe44aaf8efe75b
parent45d9493ee9f91dcdf2bafdf67f3d5adc432848bf
#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again

Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
Lib/test/test_curses.py
Modules/_curses_panel.c