> 
> Patch attached: fail cleanly with EINVAL instead of corrupting the stack. 
> This only affects platforms without poll(2) (essentially Windows and ancient 
> Unixes?), and the 

Well, testing on Windows showed that assumption was incorrect, and the
check is not needed on Windows. So now patch fixes only
the Unix without poll(2), what sounds mostly theoretical... 

Anyway, attached the v2.

--
Best regards,
Roman Khapov

Attachment: v2-0001-libpq-guard-select-fallback-against-fds-FD_SETSIZ.patch
Description: Binary data

Reply via email to