Backout revision 1.37. Setting ev->ev_pncalls to NULL results in
authorbluhm <bluhm@openbsd.org>
Tue, 6 Jan 2015 23:11:23 +0000 (23:11 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 6 Jan 2015 23:11:23 +0000 (23:11 +0000)
commit75f39c9fb438e87f14fa8068af565e07e4e5b87f
tree8a47e5fe728f9c6c0b84eca6ddfd9193fa8ce539
parentce5ce970bb0d43483348bf4e4f2dc12ed39c9df1
Backout revision 1.37.  Setting ev->ev_pncalls to NULL results in
a use after free if the callback has freed the ev.  With F in
malloc.conf both tmux and the regression tests triggered a segmentation
fault.
OK nicm@
lib/libevent/event.c