diff options
author | George Amanakis <[email protected]> | 2024-07-15 18:07:33 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-15 09:07:33 -0700 |
commit | 54ef0fdf60a8e7633c38cb46e1f5bcfcec792f4e (patch) | |
tree | 4f2884976914df162d9137b4d96a2f84191da1ae /scripts | |
parent | 2eab4f7b396a1abb9adf7cab82d6ff47f9d78e9b (diff) |
head_errlog: fix use-after-free
In the commit of the head_errlog feature we introduced a bug in
dsl_dataset_promote_sync(): we may dereference origin_head and hds, both
dereferencing ddpa after calling promote_sync() on ddpa.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Chunwei Chen <[email protected]>
Reviewed-by: Rob Norris <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #16272
Closes #16273
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions