[-]
[+]
|
Changed |
rrdtool.spec
|
|
[-]
[+]
|
Added |
rrdtool-1.3.3-ssize.diff
^
|
@@ -0,0 +1,17 @@
+--- bindings/python/rrdtoolmodule.c.orig 2008-06-11 20:14:04.000000000 +0200
++++ bindings/python/rrdtoolmodule.c 2008-06-11 20:15:07.000000000 +0200
+@@ -61,7 +61,13 @@
+ PyObject *o;
+ int size, i;
+
+- size = PyTuple_Size(args);
++ if ( PyTuple_Size(args) <= INT_MAX )
++ size = PyTuple_Size(args);
++ else {
++ PyErr_Format(PyExc_ValueError,"too big return value");
++ return -1;
++ }
++
+ *argv = PyMem_New(char *,
+ size + 1);
+
|
|
Added |
rrdtool-1.3.3.tar.gz
^
|