summaryrefslogtreecommitdiff
path: root/lib/zstd
diff options
context:
space:
mode:
authorThomas Bertschinger <tahbertschinger@gmail.com>2023-12-14 12:06:41 -0700
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-14 15:24:14 -0500
commit50a8a732d2db64507ba7cd4ebe66538d9c40bea8 (patch)
treeefdd19718279609af9d81664a3832092ed3f48f7 /lib/zstd
parent8bf771972b8468b6a841d088141ac2960e6927fd (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 'lib/zstd')
0 files changed, 0 insertions, 0 deletions