[-]
[+]
|
Added |
rrdtool.spec
|
|
[-]
[+]
|
Added |
rrdtool-1.2.23-python.diff
^
|
@@ -0,0 +1,11 @@
+--- bindings/python/setup.py
++++ bindings/python/setup.py
+@@ -48,7 +48,7 @@
+ "rrdtoolmodule",
+ ["rrdtoolmodule.c"],
+ libraries=['rrd'],
+- runtime_library_dirs=[library_dir],
++# runtime_library_dirs=[library_dir],
+ library_dirs=[library_dir],
+ include_dirs=[include_dir],
+ )
|
[-]
[+]
|
Added |
rrdtool-1.2.23-ssize.diff
^
|
@@ -0,0 +1,16 @@
+--- bindings/python/rrdtoolmodule.c
++++ bindings/python/rrdtoolmodule.c
+@@ -57,7 +57,12 @@
+ 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);
+ if (*argv == NULL)
+ return -1;
|
[-]
[+]
|
Added |
rrdtool-1.2.26-ssize.diff
^
|
@@ -0,0 +1,16 @@
+--- bindings/python/rrdtoolmodule.c
++++ bindings/python/rrdtoolmodule.c
+@@ -57,7 +57,12 @@
+ 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);
+ if (*argv == NULL)
+ return -1;
|
[-]
[+]
|
Added |
rrdtool-1.2.27-ssize.diff
^
|
@@ -0,0 +1,16 @@
+--- bindings/python/rrdtoolmodule.c
++++ bindings/python/rrdtoolmodule.c
+@@ -57,7 +57,12 @@
+ 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);
+ if (*argv == NULL)
+ return -1;
|
[-]
[+]
|
Added |
rrdtool-1.2.28-ssize.diff
^
|
@@ -0,0 +1,16 @@
+--- bindings/python/rrdtoolmodule.c
++++ bindings/python/rrdtoolmodule.c
+@@ -57,7 +57,12 @@
+ 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);
+ if (*argv == NULL)
+ return -1;
|
[-]
[+]
|
Added |
rrdtool-1.2.30-ssize.diff
^
|
@@ -0,0 +1,16 @@
+--- bindings/python/rrdtoolmodule.c
++++ bindings/python/rrdtoolmodule.c
+@@ -57,7 +57,12 @@
+ 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);
+ if (*argv == NULL)
+ return -1;
|
[-]
[+]
|
Added |
rrdtool-1.3.0-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 |
cgilib-0.5.tar.bz2
^
|
|
Added |
ready
^
|
|
Added |
rrdtool-1.2.23.tar.bz2
^
|
|
Added |
rrdtool-1.2.26.tar.gz
^
|
|
Added |
rrdtool-1.2.28.tar.gz
^
|
|
Added |
rrdtool-1.2.30.tar.bz2
^
|
|
Added |
rrdtool-1.3.0.tar.gz
^
|