| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
If a buffer exceeds UINT_MAX (which is only possible on 64 bit systems)
an endless loop or OOB write can occur in buffer-specific readline
functions.
Switching variables in function scope to size_t solves these issue because
relevant fields in struct buffer are already size_t.
ok cheloha, deraadt, nicm, tedu
|
|
|
|
|
| |
the string buffer.
ok jsing millert
|
|
|
|
| |
OK bluhm@ nicm@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- https://github.com/libevent/libevent/commit/7b21c4eabf1f3946d3f63cce1319c490caab8ecf
- For this fix, we need to make sure that passing too-large inputs to
the evbuffer functions can't make us do bad things with the heap.
On top of that do:
- Update libevent version to 1.4.15-stable.
- Use SIZE_MAX from limits.h instead of a private define.
- Do not declare 'size_t need' twice to avoid a compiler warning.
OK sthen
|
|
|
|
|
|
|
|
|
| |
switch fprintf(stderr) over to event_warn() on malloc failure. fix
up an errant newline in an existing event_warn while there.
originally i just wanted to delete the fprintf
diff from nicm@ who is away from a keyboard right now so cant commit
guenther@ agrees with the idea
|
|
|
|
| |
OK nicm@
|
|
|
|
|
| |
useless. Let libevent call the libc functions directly.
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
|
| |
Do not include sys/param.h.
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
| |
OK nicm@
|
|
|
|
| |
ok nicm@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
http://levent.svn.sourceforge.net/viewvc/levent?view=rev&revision=1436
ok gilles@
|
|
|
|
|
| |
"No objection" millert@
"the diff looks and works fine" reyk@
|
| |
|
|
|
|
|
| |
allow gotsig to terminate active event loop and evbuffer_find fix.
OK brad@ pyr@
|
| |
|
|
|
|
|
|
| |
From Niels Provos via the libevent SVN, by Alejo.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
| |
reasonable; in some circumstances it could happen that libevent happily
allocated 100MB in read buffers without telling the user; found by
christopher maxwell - parts of these changes are from his patch.
- allow setting an event base for bufferevents; from phil oleson
- improved manpage from Phil Oleson
From libevent CVS
|
|
|
|
| |
From libevent CVS
|
|
|
|
|
|
| |
From libevent CVS
ok markus@
|
|
|
|
| |
ok brad@ beck@
|
|
|
|
| |
ok grunk@
|
|
|
|
|
|
|
| |
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 markus@
|