[openssl.org #4494] Fix: check the FD_SETSIZE before the call to select() in speed.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[openssl.org #4494] Fix: check the FD_SETSIZE before the call to select() in speed.c

Rich Salz via RT
The behavior of select() is undefined when the value of max_fd is bigger or equal to FD_SETSIZE.
When using a big number of async_jobs in speed.c this condition might not be satisfied.

The following pull request add a check and print an error message:
https://github.com/openssl/openssl/pull/926



Regards,
Andrea

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4494
Please log in as guest with password guest if prompted

--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev