apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Conway <...@cs.berkeley.edu>
Subject Re: Crash in apr_pollcb_create_ex()
Date Thu, 05 Nov 2009 21:29:41 GMT
Has anyone had a chance to look at this patch? It's pretty trivial.

Also, this patch is outstanding:

http://mail-archives.apache.org/mod_mbox/apr-dev/200910.mbox/<b4e5ce320910242317q199897b6p9cf57b99c07e2edb@mail.gmail.com>

Neil

On Sat, Oct 24, 2009 at 5:29 PM, Neil Conway <nrc@cs.berkeley.edu> wrote:
> If apr_pollcb_create_ex() is called with a non-default pollset method,
> it tries to use the user-specified method, and fails back to the
> platform default if the user-specified method is not available on the
> current platform. The fall-back code path is buggy, however: the
> *pollcb pointer is reset to NULL (unix/pollcb.c:106 in trunk) before
> the default pollset provider's create method is called on line 120.
>
> Attached is a patch against trunk; the same issue exists in the 1.4 branch.
>
> Neil
>

Mime
View raw message