Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:armliao:honeyd
rrdtool
rrdtool-1.2.23-ssize.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rrdtool-1.2.23-ssize.diff of Package rrdtool
--- 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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor