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

zap_leaf: make l_hash[] variable length to silence UBSAN #15964

Merged
merged 1 commit into from
Apr 3, 2024

Commits on Mar 27, 2024

  1. zap_leaf: make l_hash[] variable length to silence UBSAN

    When UBSAN is active and OpenZFS is a debug build, the l_hash assert at
    the bottom of zap_open_leaf() causes UBSAN to complain.
    
    This follows the example in 786641d to shut it up.
    
    Signed-off-by: Rob Norris <[email protected]>
    Sponsored-by: https://despairlabs.com/sponsor/
    robn committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    3f51b97 View commit details
    Browse the repository at this point in the history