]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
The _lsprof module could crash the interpreter if it was given an external
authorBrett Cannon <bcannon@gmail.com>
Mon, 29 Sep 2008 03:41:21 +0000 (03:41 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 29 Sep 2008 03:41:21 +0000 (03:41 +0000)
commitb2d61bde28d11ab5f31ee7cd2738828f801c68d9
treedc5d0420f6d5d8b7b3a01bb3787c01836652b23b
parent09c01782424e61e51dbfab83886738aacd73a635
The _lsprof module could crash the interpreter if it was given an external
timer that did not return a float and a timer was still running when the
Profiler object was garbage collected.

Fixes issue 3895.
Code review by Benjamin Peterson.
Lib/test/test_cprofile.py
Misc/NEWS
Modules/_lsprof.c