« Previous | Next » 

Revision 0f5054f6

ID0f5054f6850c7419933a6337a34263f565663ee3
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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences