diff options
author | Thomas Bertschinger <tahbertschinger@gmail.com> | 2023-12-14 12:06:41 -0700 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-14 15:24:14 -0500 |
commit | 50a8a732d2db64507ba7cd4ebe66538d9c40bea8 (patch) | |
tree | efdd19718279609af9d81664a3832092ed3f48f7 /Documentation/core-api/cpu_hotplug.rst | |
parent | 8bf771972b8468b6a841d088141ac2960e6927fd (diff) |
bcachefs: fix invalid memory access in bch2_fs_alloc() error path
When bch2_fs_alloc() gets an error before calling
bch2_fs_btree_iter_init(), bch2_fs_btree_iter_exit() makes an invalid
memory access because btree_trans_list is uninitialized.
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Fixes: 6bd68ec266ad ("bcachefs: Heap allocate btree_trans")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'Documentation/core-api/cpu_hotplug.rst')
0 files changed, 0 insertions, 0 deletions