summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2024-03-22 19:55:18 +0300
committerTheodore Ts'o <tytso@mit.edu>2024-05-03 07:04:35 +0300
commita11adf7be9d8baefe798eab49c356ab8e3924f0e (patch)
tree9e320ea129a6b892ecf2f9ede5e25efb48af1960 /scripts/gdb/linux/modules.py
parent0a46ef234756dca04623b7591e8ebb3440622f0b (diff)
downloadlinux-a11adf7be9d8baefe798eab49c356ab8e3924f0e.tar.xz
ext4: implement filesystem specific alloc_inode in unit test
We expect inode with ext4_info_info type as following: mbt_kunit_init mbt_mb_init ext4_mb_init ext4_mb_init_backend sbi->s_buddy_cache = new_inode(sb); EXT4_I(sbi->s_buddy_cache)->i_disksize = 0; Implement alloc_inode ionde with ext4_inode_info type to avoid out-of-bounds write. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20240322165518.8147-1-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions