DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30134

Segmentation fault in char_buffer_read when reverse proxying SSL





------- Additional Comments From [EMAIL PROTECTED]  2004-08-16 12:15 -------
Ah ha, that's crucial info, thanks.

It looks like the cause is: ssl_io_input_read is called with inctx->mode ==
SPECULATIVE (this only normally happens in the proxy IIRC); ssl_io_input_read
calls char_buffer_read, which executes the case where it does:

        buffer->value = NULL;
        buffer->length = 0;

and ssl_io_input_read then screws up the inctx->cbuf for good.

            /* We want to rollback this read. */
            inctx->cbuf.value -= bytes;
            inctx->cbuf.length += bytes;

cbuf = { length = 1, value = 0xffffffff <Address 0xffffffff out of bounds>}, 

per your backtrace.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to