summaryrefslogtreecommitdiff
path: root/nest/rt-dev.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.com>2016-09-08 13:45:36 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-09-15 16:18:32 +0200
commit0f5054f6850c7419933a6337a34263f565663ee3 (patch)
tree27df9c4296a0d465894cd92a8e4301d2bf44a53e /nest/rt-dev.c
parenta290da25a16b7c79d4a7a87f522b4068bca04979 (diff)
BFD: Fix invalid read from pollfd array
It is possible that sockets_add() are called between sockets_prepare() and sockets_fire() during poll loop in birdloop_main(), so we need to use loop->poll_fd.used instead of loop->sock_num to find the last field.
Diffstat (limited to 'nest/rt-dev.c')
0 files changed, 0 insertions, 0 deletions