From baa5c200dca7b305a1b264f72b8a4103d3851604 Mon Sep 17 00:00:00 2001 From: bmribler <39579120+bmribler@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:08:11 -0500 Subject: [PATCH] Fixed H5Ovisit2() change of behavior between 1.10.11 and v1.14.4.3 (#5022) H5O__visit() uses the object information to be returned to the application, so when the application did not request for certain information, they were not available to H5O__visit. This lack of information caused incorrect behavior down the road. We now call H5O_get_info again providing H5O_INFO_BASIC for "fields", so we can obtain correct object information for H5O__visit to use. Fixes #4941 --- release_docs/RELEASE.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 86f894d3bea..83d72f69c5c 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -449,6 +449,26 @@ Bug Fixes since HDF5-2.0.0 release would cause those routines to return FAIL instead of FALSE when checking the existence of a non-existent object with a file ID instead of a group ID. + + - Fixed a segfault in h5dump when a B-tree node level is corrupted + + h5dump produced a segfault on a mal-formed file because a B-tree node + level was corrupted. + + An internal function was modified to help detecting when a decoded B-tree + node level has an unexpected value and an error will be produced. + + Fixes GitHub issue #4432 + + - Fixed H5Ovisit2 to recursively visit all objects + + H5Ovisit2 visited only the root group and not all the nested groups. + + This behavior occurred when the fields are not H5O_INFO_BASIC or + H5O_INFO_ALL because an internal function did not obtain the basic + information needed by its caller. This problem is now fixed. + + Fixes GitHub issue #4941 - Only clear FE_INVALID when that symbol is present on the system