qrexec: fix loop bounds

This commit is contained in:
Marek Marczykowski-Górecki 2014-07-26 02:14:56 +02:00
parent 27a12a0aac
commit f0f82fc7e5

View File

@ -598,7 +598,7 @@ int main()
handle_trigger_io();
handle_process_data_all(&rdset);
for (i = 0; i <= MAX_FDS; i++)
for (i = 0; i < MAX_FDS; i++)
if (client_info[i].pid
&& client_info[i].is_blocked
&& FD_ISSET(client_info[i].stdin_fd, &wrset))