Re: [PATCH] Fix uninitialized variable in ext4_inlinedir_to_tree

From: Theodore Ts'o
Date: Fri Jun 28 2024 - 13:19:14 EST



On Tue, 30 Apr 2024 20:30:17 -0700, Xiaxi Shen wrote:
> Syzbot has found an uninit-value bug in ext4_inlinedir_to_tree
>
> This error happens because ext4_inlinedir_to_tree does not
> handle the case when ext4fs_dirhash returns an error
>
> This can be avoided by checking the return value of ext4fs_dirhash
> and propagating the error,
> similar to how it's done with ext4_htree_store_dirent
>
> [...]

Applied, thanks!

[1/1] Fix uninitialized variable in ext4_inlinedir_to_tree
commit: 8dc9c3da79c84b13fdb135e2fb0a149a8175bffe

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>