]> Git Repo - linux.git/commit
nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field
authorTetsuo Handa <[email protected]>
Sun, 26 Mar 2023 15:21:46 +0000 (00:21 +0900)
committerAndrew Morton <[email protected]>
Thu, 6 Apr 2023 01:06:23 +0000 (18:06 -0700)
commit7397031622e05ca206e2d674ec199d6bb66fc9ba
tree6d081e45990004716533abb2f206ba985f6f0b02
parent6be49d100c22ffea3287a4b19d7639d259888e33
nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field

nilfs_btree_assign_p() and nilfs_direct_assign_p() are not initializing
"struct nilfs_binfo_dat"->bi_pad field, causing uninit-value reports when
being passed to CRC function.

Link: https://lkml.kernel.org/r/[email protected]
Reported-by: syzbot <[email protected]>
Link: https://syzkaller.appspot.com/bug?extid=048585f3f4227bb2b49b
Reported-by: Dipanjan Das <[email protected]>
Link: https://lkml.kernel.org/r/CANX2M5bVbzRi6zH3PTcNE_31TzerstOXUa9Bay4E6y6dX23_pg@mail.gmail.com
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
fs/nilfs2/btree.c
fs/nilfs2/direct.c
This page took 0.057229 seconds and 4 git commands to generate.