Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-11 14:21:09 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-06-11 14:55:21 +0400
commitae40b6613019f02e856b4b1ccc2712984506152e (patch)
tree19ab6fa2ae74eba1b071cbae4e6dc832f3556305 /uloop.h
parente5032709b29eb42568c3937a533898728a15efa1 (diff)
uloop: rework event processing, fix use-after-free issues
Recursive calls to uloop_run() need to process already fetched events first, before running kqueue/epoll to get more. The state of cur_fd/cur_nfds and the event list needs to be maintained properly to prevent accidental running of events pointing at deleted uloop_fd structs. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uloop.h')
0 files changed, 0 insertions, 0 deletions