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 following TX_WRITE log data
When logging a TX_WRITE record in the case where file data has to be copied from the DMU, we pad the log record size to a multiple of 8 bytes. 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