io.c (rb_update_max_fd): fail with a negative file descripter
Coverity Scan points out that ext/socket/unixsocket.c may pass -1 to rb_update_max_fd. I'm unsure whether it can happen actually or not, but it would be good for the function to reject a negative value.
This commit is contained in:
parent
ebc2198d9f
commit
90b9900dc1
Loading…
x
Reference in New Issue
Block a user