mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Previously zfsd would crash in the presence of a pool with a top-level-vdev that had previously been removed. The crash happened because the configuration nvlist of such a TLV contains an empty ZPOOL_CONFIG_CHILDREN array, which led to a pop_front from an empty list, which has undefined behavior. The crash only happened in stable/14 and later, probably do to differences in libcxx, but the change should be MFCed anyway. PR: 273663 Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> Sponsored by: Axcient Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D41818 (cherry picked from commit 0b294a386d34f6584848ed52407687df7ae59861) |
||
|---|---|---|
| .. | ||
| tests | ||
| callout.cc | ||
| callout.h | ||
| case_file.cc | ||
| case_file.h | ||
| Makefile | ||
| Makefile.common | ||
| Makefile.depend | ||
| vdev.cc | ||
| vdev.h | ||
| vdev_iterator.cc | ||
| vdev_iterator.h | ||
| zfsd.8 | ||
| zfsd.cc | ||
| zfsd.h | ||
| zfsd_event.cc | ||
| zfsd_event.h | ||
| zfsd_exception.cc | ||
| zfsd_exception.h | ||
| zfsd_main.cc | ||
| zpool_list.cc | ||
| zpool_list.h | ||