aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/nvme/(public-mirror)
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-12-16 16:11:24 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-12-16 16:12:36 +0000
commita34c50fbd2a52bb63acde82e5aec4cb57880e39b (patch)
treea735865ce2bbb759608fdfb1516f3ada2d2f1323 /sys/contrib/device-tree/Bindings/nvme/(public-mirror)
parent2619d439fa860db734dbbf4b153c5ac9b15c7e49 (diff)
ipfilter: Prevent stack buffer overflowHEADmain
When copying ipfs data from user space, don't just check that the payload length is nonzero, but also that it does not exceed the size of the stack buffer we're copying it into. While we're at it, use a union to create a buffer of the exact size we need instead of guessing that 2048 will be enough (and not too much). Finally, check the size of the payload once it gets to where it's used. MFC after: 3 days Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D54194
Diffstat (limited to 'sys/contrib/device-tree/Bindings/nvme/(public-mirror)')
0 files changed, 0 insertions, 0 deletions