aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2024-03-23 00:55:18 +0800
committerTheodore Ts'o <[email protected]>2024-05-03 00:04:35 -0400
commita11adf7be9d8baefe798eab49c356ab8e3924f0e (patch)
tree9e320ea129a6b892ecf2f9ede5e25efb48af1960 /scripts/gdb
parent0a46ef234756dca04623b7591e8ebb3440622f0b (diff)
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 <[email protected]> Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions