diff options
author | Alexander Motin <[email protected]> | 2023-12-01 14:50:10 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-01-08 16:11:39 -0800 |
commit | e48195c816edbea0efeb41436811af353ae26a35 (patch) | |
tree | 815e0ea7983165680879f34171aacda24e97f6f5 /module/icp | |
parent | ad47eca195d048792a07a3d2dea05d369ad40900 (diff) |
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 <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #15553
Diffstat (limited to 'module/icp')
0 files changed, 0 insertions, 0 deletions