Ettercap/ettercap — pull request #99 by jacob-baines (2013-03-03 03:23:42+00:00)
Title: Poll's return value was never getting checked.

Poll's return value was never being checked which results in some undefined behavior due to poll_fd not being set. The most popular error seemed to be EINTR. The fix is to simply check the return value and return 0 on failure.