NetBSD/src nzl8CEX — sys/compat/linux/common linux_misc.c, sys/compat/linux32/common linux32_unistd.c
Avoid signed integer overflow when convering linux timeval to timespec Linux accepts garbage as timeout and attempts to set it to something meaningful. Instead of checking for valid ranges of usec, just convert the type safely, regardless of what is inside it.
Version | Delta | File | |
---|---|---|---|
1.245 | +3 | -3 | sys/compat/linux/common/linux_misc.c |
1.41 | +3 | -3 | sys/compat/linux32/common/linux32_unistd.c |
+6 | -6 | 2 files |