diff options
author | mav <mav@FreeBSD.org> | 2016-10-28 18:22:00 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-10-28 18:22:00 +0000 |
commit | a47105ffc325fb82a5ff322d83c2459cbe1a6ab5 (patch) | |
tree | d2e8fce635ba5c3de4ba5b35abe1a5fea6f1933b /contrib/libc++/src/ios.cpp | |
parent | d85916f780badddcded9eb4b29c6e1d242d9884c (diff) | |
download | FreeBSD-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/ios.cpp')
0 files changed, 0 insertions, 0 deletions