diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2024-03-08 02:36:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 02:36:58 (GMT) |
commit | b0af7cf58bff90a152a6a61071d7fce41712ffdc (patch) | |
tree | e08f18622db6e7ba253030e403badb8168bb9808 /release_docs/HISTORY-1_0-1_8_0.txt | |
parent | f24496074ffccde0c96bdfa1895610fb1b9835a0 (diff) | |
download | hdf5-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/HISTORY-1_0-1_8_0.txt')
0 files changed, 0 insertions, 0 deletions