summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/future.cpp
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-10-28 18:22:00 +0000
committermav <mav@FreeBSD.org>2016-10-28 18:22:00 +0000
commita47105ffc325fb82a5ff322d83c2459cbe1a6ab5 (patch)
treed2e8fce635ba5c3de4ba5b35abe1a5fea6f1933b /contrib/libc++/src/future.cpp
parentd85916f780badddcded9eb4b29c6e1d242d9884c (diff)
downloadFreeBSD-src-a47105ffc325fb82a5ff322d83c2459cbe1a6ab5.zip
FreeBSD-src-a47105ffc325fb82a5ff322d83c2459cbe1a6ab5.tar.gz
MFC r298814 (by asomers): Fix a use-after-free when "zpool import" fails
clear vd->vdev_tsd in vdev_geom_close_locked instead of vdev_geom_detach. In the latter function, it would fail to happen in certain circumstances where cp->private was unset. Ideally, the latter should never happen, but it can happen when vdev open fails, or where spares are involved.
Diffstat (limited to 'contrib/libc++/src/future.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud