zfs/module
Steve Mokris da6a7f0239 Avoid some crashes when importing a pool with corrupt metadata
- Skip invalid DVAs when importing pools in readonly mode
  (in addition to when the config is untrusted).

- Upon encountering a DVA with a null VDEV, fail gracefully
  instead of panicking with a NULL pointer dereference.

Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Steve Mokris <smokris@softpixel.com>
Closes #9022
2020-01-22 13:49:06 -08:00
..
avl Fix typos in module/ 2020-01-22 13:48:59 -08:00
icp cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
lua cppcheck: (error) Address of local auto-variable assigned 2020-01-22 13:49:06 -08:00
nvpair cppcheck: (warning) Possible null pointer dereference: nvh 2020-01-22 13:49:06 -08:00
spl cppcheck: (error) Shifting signed 64-bit value by 63 bits 2020-01-22 13:49:06 -08:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Increase allowed 'special_small_blocks' maximum value 2020-01-22 13:49:05 -08:00
zfs Avoid some crashes when importing a pool with corrupt metadata 2020-01-22 13:49:06 -08:00
.gitignore Adapt gitignore for modules 2020-01-22 13:49:05 -08:00
Makefile.in module/Makefile.in: don't run xargs if empty 2020-01-22 13:49:02 -08:00