summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-08 02:36:58 (GMT)
committerGitHub <noreply@github.com>2024-03-08 02:36:58 (GMT)
commitb0af7cf58bff90a152a6a61071d7fce41712ffdc (patch)
treee08f18622db6e7ba253030e403badb8168bb9808 /release_docs
parentf24496074ffccde0c96bdfa1895610fb1b9835a0 (diff)
downloadhdf5-b0af7cf58bff90a152a6a61071d7fce41712ffdc.zip
hdf5-b0af7cf58bff90a152a6a61071d7fce41712ffdc.tar.gz
hdf5-b0af7cf58bff90a152a6a61071d7fce41712ffdc.tar.bz2
Fixed asserts due to H5Pset_est_link_info() values (#4081)
* Fixed asserts due to H5Pset_est_link_info() values If large values for est_num_entries and/or est_name_len were passed to H5Pset_est_link_info(), the library would attempt to create an object header NIL message to reserve enough space to hold the links in compact form (i.e., concatenated), which could exceed allowable object header message size limits and trip asserts in the library. This bug only occurred when using the HDF5 1.8 file format or later and required the product of the two values to be ~64k more than the size of any links written to the group, which would cause the library to write out a too-large NIL spacer message to reserve the space for the unwritten links. The library now inspects the phase change values to see if the dataset is likely to be compact and checks the size to ensure any NIL spacer messages won't be larger than the library allows. Fixes GitHub #1632 * Fix copy-paste comments
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/RELEASE.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 25bcbbf..26c3a67 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -529,6 +529,26 @@ Bug Fixes since HDF5-1.14.0 release
===================================
Library
-------
+ - Fixed asserts raised by large values of H5Pset_est_link_info() parameters
+
+ If large values for est_num_entries and/or est_name_len were passed
+ to H5Pset_est_link_info(), the library would attempt to create an
+ object header NIL message to reserve enough space to hold the links in
+ compact form (i.e., concatenated), which could exceed allowable object
+ header message size limits and trip asserts in the library.
+
+ This bug only occurred when using the HDF5 1.8 file format or later and
+ required the product of the two values to be ~64k more than the size
+ of any links written to the group, which would cause the library to
+ write out a too-large NIL spacer message to reserve the space for the
+ unwritten links.
+
+ The library now inspects the phase change values to see if the dataset
+ is likely to be compact and checks the size to ensure any NIL spacer
+ messages won't be larger than the library allows.
+
+ Fixes GitHub #1632
+
- Fixed a bug where H5Tset_fields does not account for any offset
set for a floating-point datatype when determining if values set
for spos, epos, esize, mpos and msize make sense for the datatype