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

Hdf5_1_14_5 updates #4892

Merged
merged 6 commits into from
Sep 28, 2024
Merged

Hdf5_1_14_5 updates #4892

merged 6 commits into from
Sep 28, 2024

Conversation

lrknox
Copy link
Collaborator

@lrknox lrknox commented Sep 27, 2024

PR #4882
PR #4870

fortnern and others added 6 commits September 19, 2024 13:56
In H5F__accum_reset(), when H5F__accum_flush() failed, the freeing of
f_sh->accum.buf was never reached, causing resource leak.

@fortnern added the third argument to H5F__accum_reset() so we can free
f_sh->accum.buf when we close the file, that is, when H5F__accum_reset()
is called from the H5F__dest() route, and can leave the accumulator in place
otherwise.
H5LTfind_dataset() returns true for non-existing datasets because it only compares up to the length of the searched string, such as "Day" vs "DayNight" (issue HDFGroupGH-4780).

This PR applied the user's patch and added tests.
@lrknox lrknox merged commit cb13cf2 into HDFGroup:hdf5_1_14_5 Sep 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants