]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backporting fix by tim_one:
authorGeorg Brandl <georg@python.org>
Mon, 18 Jul 2005 07:24:37 +0000 (07:24 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 18 Jul 2005 07:24:37 +0000 (07:24 +0000)
commit7f944144855e431e6f74a743c9fc6afd7279f149
treec4db7130edf0aa5231129494a5c87aee90aebba3
parentb454ea90c9c2c214fe90e07ec507ca4e9062db1b
backporting fix by tim_one:
"""
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.
"""
Misc/NEWS
Objects/longobject.c