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 range check in H5_addr_overlap #4278

Merged
merged 1 commit into from
Mar 29, 2024

Commits on Mar 29, 2024

  1. Fix range check in H5_addr_overlap

    When the H5_addr_overlap macro was updated to use H5_RANGE_OVERLAP,
    it failed to take into account that H5_RANGE_OVERLAP expects the
    range to be inclusive. This lead to an assertion failure in
    H5MM_memcpy due to a memcpy operation on overlapping memory.
    This has been fixed by subtracting 1 from the calculated high
    bound values passed to H5_RANGE_OVERLAP
    jhendersonHDF committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    09415f0 View commit details
    Browse the repository at this point in the history