]> granicus.if.org Git - libevent/commit
Prevent integer overflow in kq_build_changes_list.
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 7 May 2019 18:53:17 +0000 (20:53 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 7 May 2019 18:53:17 +0000 (20:53 +0200)
commitcf8acae36a580935c42228f3d30f3e96c8a3ef59
tree34ad170ab4ec592b7c2f6a224dc4ff57796efbae
parent8701d0d3d2519800f46ab031a0b0d887b6eb1359
Prevent integer overflow in kq_build_changes_list.

On amd64 systems with kqueue (e.g. *BSD systems) an integer overflow
could be triggered with an excessively huge amount of events.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
kqueue.c