« Previous | Next » 

Revision 0f5054f6

Parent a290da25
Child 6273fcf0

Added by Pavel Tvrdik almost 5 years ago

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.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences