mirror_zfs/lib/libspl
Alexander Motin e48195c816 ZIO: Add overflow checks for linear buffers
Since we use a limited set of kmem caches, quite often we have unused
memory after the end of the buffer.  Put there up to a 512-byte canary
when built with debug to detect buffer overflows at the free time.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15553
2024-01-08 16:11:39 -08:00
..
include ZIO: Add overflow checks for linear buffers 2024-01-08 16:11:39 -08:00
os
assert.c
atomic.c
getexecname.c
libspl_impl.h
list.c
Makefile.am
mkdirp.c
page.c
strlcat.c
strlcpy.c
timestamp.c