Fix overflow protection check in the poll loop. The check needs to happen
authorclaudio <claudio@openbsd.org>
Fri, 11 Mar 2022 09:57:54 +0000 (09:57 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 11 Mar 2022 09:57:54 +0000 (09:57 +0000)
commitbd2dbcbd84aaf07c1d65fef05358610eedbafed9
treeae536718e99fc670cf6a2e795facfce3b44ec5a9
parent241bb7dbcb968d35a4b2d8700551524b20e5b76e
Fix overflow protection check in the poll loop. The check needs to happen
at the start of the loop and with i >= NPFDS.
Reported by Martin Vahlensieck (openbsd (at) academicsolutions.ch)
OK tb@
usr.sbin/rpki-client/http.c