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

Prevent panic if status line is empty in mdstat #441

Merged
merged 1 commit into from May 2, 2022

Commits on May 2, 2022

  1. Prevent panic if status line is empty in mdstat

    This change fixes a potential source of panic when the status line in
    mdstat is empty and the code is trying to reference first item in a
    zero-sized slice.
    
    Signed-off-by: Artur Makutunowicz <arma@linkedin.com>
    amakutunowicz authored and Artur Makutunowicz committed May 2, 2022
    Copy the full SHA
    02e9fa9 View commit details
    Browse the repository at this point in the history