Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid some crashes when importing a pool with corrupt metadata #9022

Merged
merged 1 commit into from
Dec 26, 2019
Merged

Avoid some crashes when importing a pool with corrupt metadata #9022

merged 1 commit into from
Dec 26, 2019

Commits on Dec 24, 2019

  1. 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.
    
    Signed-off-by: Steve Mokris <smokris@softpixel.com>
    smokris committed Dec 24, 2019
    Configuration menu
    Copy the full SHA
    5489c80 View commit details
    Browse the repository at this point in the history