mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 16:23:25 -05:00
It can be used to panic the kernel by giving too big value. Fix it by moving allocation and size verification into kern_getfsstat(). This even simplifies kern_getfsstat() consumers, but destroys symmetry - memory is allocated inside kern_getfsstat(), but has to be freed by the caller. Found by: FreeBSD Kernel Stress Test Suite: http://www.holm.cc/stress/ Reported by: Peter Holm <peter@holm.cc> |
||
|---|---|---|
| .. | ||
| alpha | ||
| compile | ||
| conf | ||
| include | ||
| isa | ||
| linux | ||
| mcbus | ||
| osf1 | ||
| pci | ||
| tlsb | ||
| Makefile | ||