Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
rinetd
rinetd-secfix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rinetd-secfix.diff of Package rinetd
--- rinetd/rinetd.c +++ rinetd/rinetd.c @@ -1071,6 +1071,11 @@ { goto shortage; } + if (!SAFE_REALLOC(&coClosing, sizeof(int) * o, + sizeof(int) * coTotal)) + { + goto shortage; + } if (!SAFE_REALLOC(&reClosed, sizeof(int) * o, sizeof(int) * coTotal)) { @@ -1140,7 +1145,7 @@ goto shortage; } } - index = coTotal; + index = o; } coInputRPos[index] = 0; coInputWPos[index] = 0;
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