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

Fix gcc uninitialized warning in FreeBSD zio_crypt.c #16688

Merged

Commits on Oct 25, 2024

  1. Fix gcc uninitialized warning in FreeBSD zio_crypt.c

    In FreeBSD's `zio_do_crypt_data()`, ensure that two `struct uio`
    variables are cleared before copying data out of them. This avoids
    accessing garbage data, and fixes gcc `-Wuninitialized` warnings.
    
    Signed-off-by: Dimitry Andric <[email protected]>
    DimitryAndric committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    853206f View commit details
    Browse the repository at this point in the history