Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zero pad bytes when allocating a ZIL record
When allocating a record, we round up the allocation size to a multiple of 8. In this case, any padding bytes should be zeroed, otherwise the contents of uninitialized memory are written to the ZIL. This was found using KMSAN. Signed-off-by: Mark Johnston <markj@FreeBSD.org>
- Loading branch information