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

Grandi, Andrea via RT rt at openssl.org
Thu Mar 31 12:34:42 UTC 2016

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:


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

More information about the openssl-dev mailing list