diff options
Diffstat (limited to 'lang/python32/files/patch-objects_longobject.c')
-rw-r--r-- | lang/python32/files/patch-objects_longobject.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python32/files/patch-objects_longobject.c b/lang/python32/files/patch-objects_longobject.c new file mode 100644 index 000000000000..1221db9fed0a --- /dev/null +++ b/lang/python32/files/patch-objects_longobject.c @@ -0,0 +1,11 @@ +--- Objects/longobject.c.orig 2007-05-07 19:30:48.000000000 +0100 ++++ Objects/longobject.c 2008-08-30 10:16:13.000000000 +0100 +@@ -70,6 +70,8 @@ + PyErr_NoMemory(); + return NULL; + } ++ /* XXX(nnorwitz): This can overflow -- ++ PyObject_NEW_VAR / _PyObject_VAR_SIZE need to detect overflow */ + return PyObject_NEW_VAR(PyLongObject, &PyLong_Type, size); + } + |