]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix use-after-free in btree code
authorRichard Yao <richard.yao@alumni.stonybrook.edu>
Mon, 12 Sep 2022 18:22:15 +0000 (14:22 -0400)
committerMark Johnston <markj@FreeBSD.org>
Tue, 1 Nov 2022 18:03:25 +0000 (14:03 -0400)
commit8838c650cb59a1fc998e9f47424c53e030f457b9
tree55b50b4ddaa376e883d3f75dc75117e48588b407
parent1ee7e4ba70e10e0ac0c9c144ad0301ffeca8824d
Fix use-after-free in btree code

Coverty static analysis found these.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Neal Gompa <ngompa@datto.com>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #10989
Closes #13861

Approved by: so
Security: FreeBSD-EN-22:21.zfs

(cherry picked from commit 8131a96544fd19411c23424af85140e91e41c001)
sys/contrib/openzfs/module/zfs/btree.c