HomeFreeBSD

Zero end of embedded block buffer in dump_write_embedded()

Description

Zero end of embedded block buffer in dump_write_embedded()

This fixes a kernel stack leak.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Tested-by: Nicholas Sherlock <n.sherlock@gmail.com>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13778
Closes #14255

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Dec 14 2022, 1:31 AM
Tony Hutter <hutter2@llnl.gov>Committed on Jan 19 2023, 8:50 PM
Parents
rG3207803abf6a: Change ZEVENT_POOL_GUID to ZEVENT_POOL to display pool names
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGa2aabac123a9: Zero end of embedded block buffer in dump_write_embedded() (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Jan 19 2023, 8:50 PM