diff options
Diffstat (limited to 'lang/python24/patches/patch-au')
-rw-r--r-- | lang/python24/patches/patch-au | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lang/python24/patches/patch-au b/lang/python24/patches/patch-au deleted file mode 100644 index 7c22037abeb..00000000000 --- a/lang/python24/patches/patch-au +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-au,v 1.1 2008/04/11 10:32:33 drochner Exp $ - ---- Modules/zlibmodule.c.orig 2008-04-11 12:21:45.000000000 +0200 -+++ Modules/zlibmodule.c -@@ -669,6 +669,10 @@ PyZlib_unflush(compobject *self, PyObjec - - if (!PyArg_ParseTuple(args, "|i:flush", &length)) - return NULL; -+ if (length <= 0) { -+ PyErr_SetString(PyExc_ValueError, "length must be greater than zero"); -+ return NULL; -+ } - if (!(retval = PyString_FromStringAndSize(NULL, length))) - return NULL; - |