Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
http-testing
>
tortixd
> httpd-2.2.3-aboverflow.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File httpd-2.2.3-aboverflow.patch of Package tortixd
https://bugzilla.redhat.com/show_bug.cgi?id=645845 --- httpd-2.2.3/support/ab.c.aboverflow +++ httpd-2.2.3/support/ab.c @@ -1508,6 +1508,10 @@ static void test(void) stats = calloc(requests, sizeof(struct data)); + if (!con || !stats) { + err("Cannot allocate memory for result statistics"); + } + if ((status = apr_pollset_create(&readbits, concurrency, cntxt, 0)) != APR_SUCCESS) { apr_err("apr_pollset_create failed", status); }