mirror of
https://github.com/ceph/ceph
synced 2025-01-10 13:10:46 +00:00
crimson/seastore: fix heap-used-after-free bug
Signed-off-by: chunmei <chunmei.liu@intel.com>
This commit is contained in:
parent
f79b94300e
commit
6a121c0852
@ -152,7 +152,7 @@ class tree_cursor_t final
|
||||
eagain_ifuture<> trim_value(context_t, value_size_t);
|
||||
|
||||
static Ref<tree_cursor_t> get_invalid() {
|
||||
static Ref<tree_cursor_t> INVALID = new tree_cursor_t();
|
||||
Ref<tree_cursor_t> INVALID = new tree_cursor_t();
|
||||
return INVALID;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user