apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Conway <...@cs.berkeley.edu>
Subject Crash in apr_pollcb_create_ex()
Date Sun, 25 Oct 2009 01:29:33 GMT
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.


View raw message