commit | 352c311898b5a37803efa2194738ec2bcd844b94 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Mon Jul 29 16:22:34 2024 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Aug 06 11:06:41 2024 -0700 |
tree | 73b2dec552eaa5cdedddcf52a7d101e57cf83767 | |
parent | 41e4cbe3cedc7cb1ee9b575ac6db49e4e1ab3f1c [diff] |
xfs_repair: don't crash on -vv A user reported a crash in xfs_repair when they run it with -vv specified on the command line. Ultimately this harks back to xfs_m in main() containing uninitialized stack contents, and inadequate null checks. Fix both problems in one go. Reported-by: Santiago Kraus <santiago_kraus@yahoo.com> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>