| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok nicm@ tobias@ cheloha@
|
|
|
|
|
|
|
|
|
| |
If clock_gettime(CLOCK_MONOTONIC) fails here, something is really wrong.
Lots of userland already require it anyway. Removing the fallback code
means less code, less global state and less fiddling with the timeheap
internals.
ok nicm@ tedu@ tobias@ cheloha@
|
|
|
|
|
|
|
|
|
|
| |
Also, as deraadt suggested, switched realloc to recallocarray to at least
prevent uninitialized memory to be used as pointers in case of other
programming errors. A proper solution (not using an array) needs more work.
This change occured in sync with upstream libevent 2.2.
with input by and ok bluhm, jca, tedu
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
- Defensive programming to prevent (hopefully impossible) stack-stomping
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
|
| |
useless. Let libevent call the libc functions directly.
OK nicm@
|
|
|
|
|
| |
backends.
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
|
| |
Do not include sys/param.h.
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
|
|
| |
line itself. Do not print a double new line when EVENT_SHOW_METHOD
is set.
OK nicm@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok nicm, who will pass it upstream
|
|
|
|
|
|
| |
out scary warnings if it's not there. Bump minor accordingly.
Requested by and ok dcoppa@, ok nicm@
|
|
|
|
|
|
|
|
|
|
| |
was not being done for poll and select, so after fork they would remain
using the same socketpair for signal notification, leading to a race
between the two processes to read from it and hangs.
Problem originally reported by kili@.
ok gilles
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From their change log:
o Fix memory-leak of signal handler array with kqueue. [backport]
o Make evutil_make_socket_nonblocking() leave any other flags alone.
o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking().
o Re-add event_siglcb; some old code _was_ still using it. :(
o Fix a free(NULL) in min_heap.h
o Clean up properly when adding a signal handler fails.
Also a local change to use an int rather than a long for fcntl().
ok guenther deraadt
|
|
|
|
|
|
| |
install event-config.h.
Pointed out by deraadt.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the core library only, the DNS parts are removed and it does not
include the other extra bits (HTTP, DNS, and RPC), a separate port for
these will appear in due course.
Thanks to jsg, sthen, alek, gilles, jacekm, bernd and any others I've
forgotten for testing/comments.
Note that /usr/include/evdns.h should be removed after updating.
ok deraadt
|
|
|
|
|
| |
fixed it (or, all the issues we are aware of so far).
discussed with nicm
|
| |
|
|
|
|
|
|
|
|
| |
- Make event_init return struct event_base *.
From the libevent SVN repo.
ok millert@
|
|
|
|
|
| |
"No objection" millert@
"the diff looks and works fine" reyk@
|
| |
|
|
|
|
| |
From libevent SVN via brad@.
|
|
|
|
|
| |
allow gotsig to terminate active event loop and evbuffer_find fix.
OK brad@ pyr@
|
|
|
|
|
|
|
|
| |
From Niels Provos via the libevent SVN repo, by Scott Lamb
tested by niallo@
ok deraadt@
|
|
|
|
| |
From libevent CVS
|
|
|
|
|
|
| |
From claudio@ via libevent CVS
ok claudio@
|
|
|
|
| |
ok brad@ beck@
|
|
|
|
|
|
|
| |
thanks to Alexander von Gernler for testing
and some bug fixes
ok mpf@ norby@
|
|
|
|
|
|
|
|
|
|
| |
no shared lib so no ABI/API check is necessary
thanks to Alexander von Gernler for submitting
another diff in an attempt to update libevent
and for a use-after-free fix.
ok henning@ deraadt@
|
| |
|
| |
|
|
|
|
| |
ok deraadt@ henning@ provos
|
|
|
|
| |
ok markus@
|
| |
|
| |
|
| |
|
|
supporting timeout and signal callsbacks, too. okay deraadt@ millert@
|