Skip to content

Commit

Permalink
Fixed H5Ovisit2() change of behavior between 1.10.11 and v1.14.4.3 (H…
Browse files Browse the repository at this point in the history
…DFGroup#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 HDFGroup#4941
  • Loading branch information
bmribler authored and brtnfld committed Nov 4, 2024
1 parent 670feef commit baa5c20
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit baa5c20

Please sign in to comment.