Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix range check in H5_addr_overlap (HDFGroup#4278)
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
- Loading branch information