Files
cpython/Lib
Guido van Rossum 2eb0b87d14 SF patch 514641 (Naofumi Honda) - Negative ob_size of LongObjects
Due to the bizarre definition of _PyLong_Copy(), creating an instance
of a subclass of long with a negative value could cause core dumps
later on.  Unfortunately it looks like the behavior of _PyLong_Copy()
is quite intentional, so the fix is more work than feels comfortable.

This fix is almost, but not quite, the code that Naofumi Honda added;
in addition, I added a test case.
2002-03-01 22:24:49 +00:00
..
2001-12-22 15:23:50 +00:00
2001-08-09 12:33:32 +00:00
2002-02-11 17:56:27 +00:00
2001-04-08 07:23:44 +00:00
2002-02-11 17:57:55 +00:00
2001-08-09 21:40:30 +00:00
2001-10-18 21:57:37 +00:00
2001-10-04 05:36:56 +00:00
2002-02-16 07:34:19 +00:00
2001-08-13 14:55:17 +00:00
2001-12-12 06:20:34 +00:00
2001-11-13 21:51:26 +00:00
2001-06-19 00:26:25 +00:00
2001-05-29 04:27:01 +00:00
2001-08-13 14:50:44 +00:00
2001-07-04 10:15:58 +00:00
2001-08-02 07:15:29 +00:00
2001-05-29 06:06:54 +00:00
2001-10-24 20:22:40 +00:00
2002-02-28 15:24:47 +00:00
2002-02-11 18:18:29 +00:00
2001-10-28 20:15:40 +00:00
2002-02-08 20:41:34 +00:00
2001-12-17 10:13:17 +00:00
2002-02-11 18:06:21 +00:00
2001-10-24 20:42:55 +00:00
2001-12-06 06:23:26 +00:00