OpenBSD/src 5R9XqwM — sbin/sysctl sysctl.c
If sysctl(8) was compiled with an obsolete struct sensordev size, it could get stuck in an endless loop. After sensors sysctl(2) fails, do not continue using uninitialized memory. Catch the error, print a warning, and skip the sensors. OK benno@ visa@ deraadt@
Version | Delta | File | |
---|---|---|---|
1.241 | +5 | -1 | sbin/sysctl/sysctl.c |
+5 | -1 | 1 files |