On 8/4/07, Scott Lamb <[EMAIL PROTECTED]> wrote:
> Here's the relevant bit from frame #1:
>
> 521        if (req->cb != NULL)
> 522                (*req->cb)(NULL, req->cb_arg);
>
> So that test will cause bus errors any time the http connection fails.
> Any particular reason it's passing NULL here rather than req? It hasn't
> been deleted yet.

The NULL indicates that the request failed.  The HTTP layer is going
to free it up.  However, the regression test is not expecting the
request to fail and then dereferences a NULL pointer.

Niels.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to