diff options
Diffstat (limited to 'lang/python26/patches/patch-CVE-2012-1150-Objects_object.c')
-rw-r--r-- | lang/python26/patches/patch-CVE-2012-1150-Objects_object.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python26/patches/patch-CVE-2012-1150-Objects_object.c b/lang/python26/patches/patch-CVE-2012-1150-Objects_object.c new file mode 100644 index 00000000000..6746705c236 --- /dev/null +++ b/lang/python26/patches/patch-CVE-2012-1150-Objects_object.c @@ -0,0 +1,17 @@ +$NetBSD: patch-CVE-2012-1150-Objects_object.c,v 1.1 2012/03/25 09:09:05 tron Exp $ + +Fix for CVE-2012-1150 taken from here: + +http://hg.python.org/cpython/rev/6b7704fe1be1 + +--- Objects/object.c.orig 2010-05-09 16:15:40.000000000 +0100 ++++ Objects/object.c 2012-03-25 09:51:50.000000000 +0100 +@@ -1101,6 +1101,8 @@ + return -1; + } + ++_Py_HashSecret_t _Py_HashSecret; ++ + long + PyObject_Hash(PyObject *v) + { |