Skip to content
Commit eceea0b3 authored by Al Viro's avatar Al Viro
Browse files

[PATCH] avoid multiplication overflows and signedness issues for max_fds



Limit sysctl_nr_open - we don't want ->max_fds to exceed MAX_INT and
we don't want size calculation for ->fd[] to overflow.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent adbecb12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment