mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
2be3dd1407
If the (pfd->revents & POLLNVAL) case is triggered, we do DLIST_REMOVE(ev->fd_events, fde); and then use fde->next in the loop above. Save off fde->next for loop interation before this so we can't use a deleted ->next value. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>