• Pavel Tvrdik's avatar
    BFD: Fix invalid read from pollfd array · 0f5054f6
    Pavel Tvrdik authored
    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.
    0f5054f6
io.c 13.1 KB