]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug #1238681: freed pointer is used in longobject.c:long_pow().
authorTim Peters <tim.peters@gmail.com>
Sun, 17 Jul 2005 23:45:23 +0000 (23:45 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 17 Jul 2005 23:45:23 +0000 (23:45 +0000)
commitde7990b8af50e7f2ebf6776b948fdb48408ccb02
tree36c3ac459cc1140d9e65d8420815fd6468d50ad8
parentf5f32b47128763a1f782782bd5a1a125b6d8b28b
SF bug #1238681:  freed pointer is used in longobject.c:long_pow().

In addition, long_pow() skipped a necessary (albeit extremely unlikely
to trigger) error check when converting an int modulus to long.

Alas, I was unable to write a test case that crashed due to either
cause.

Bugfix candidate.
Misc/NEWS
Objects/longobject.c