httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aryeh Katz <ar...@secured-services.com>
Subject Re: buffer overflow in ab.c
Date Thu, 04 Mar 2004 17:59:01 GMT
One more thing.
Can someone explain this SSL bit for me?
This seems to be an uninit var invocation for pollresults?

        const apr_pollfd_t *pollresults;
-snip
         if (ssl == 1)
             status = APR_SUCCESS;
         else
#endif
	status = apr_pollset_poll(readbits, aprtimeout, &n, &pollresults);
	if (status != APR_SUCCESS)
	    apr_err("apr_poll", status);

	if (!n) {
	    err("\nServer timed out\n\n");
	}

	for (i = 0; i < n; i++) {
             const apr_pollfd_t *next_fd = &(pollresults[i]);
> # diff -u ab.old.c ab.c


-- 
Aryeh Katz
SecureD Services
http://www.secured-services.com/
410 653 0700 x 2


Mime
View raw message