fgets: avoid arithmetic overflow when n==INT_MIN is passed
[musl] / src / linux / getrandom.c
2018-02-23 Hauke Mehrtensadd getrandom syscall wrapper