diff options
author | Thomas Bertschinger <tahbertschinger@gmail.com> | 2023-12-14 22:06:41 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-14 23:24:14 +0300 |
commit | 50a8a732d2db64507ba7cd4ebe66538d9c40bea8 (patch) | |
tree | efdd19718279609af9d81664a3832092ed3f48f7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8bf771972b8468b6a841d088141ac2960e6927fd (diff) | |
download | linux-50a8a732d2db64507ba7cd4ebe66538d9c40bea8.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions