summaryrefslogtreecommitdiffstats
path: root/release_docs/RELEASE.txt
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-06-18 22:36:42 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-06-18 22:36:42 (GMT)
commitc6e21cede788790b39af4a46a8bc15e49e382346 (patch)
treef2a5559c4ec1a95e43dad4b0d3f8d5fdbb904100 /release_docs/RELEASE.txt
parent8973ba46c6fd72caac146c254349df46bb57717d (diff)
parent0a75da70a61d41a0bf20a5c617f3eb678ed0b103 (diff)
downloadhdf5-c6e21cede788790b39af4a46a8bc15e49e382346.zip
hdf5-c6e21cede788790b39af4a46a8bc15e49e382346.tar.gz
hdf5-c6e21cede788790b39af4a46a8bc15e49e382346.tar.bz2
Merge pull request #1748 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:links_iterate_zero_bug to develop
* commit '0a75da70a61d41a0bf20a5c617f3eb678ed0b103': Yanked qsort assert Switched to HGOTO_DONE() in the links code. Updated the HDqsort() macro to ensure we don't pass NULL buffers to qsort(3) in the future. Fixed a bug in the links code where iterating over an empty group would pass a NULL pointer to qsort(3), which is undefined behavior.
Diffstat (limited to 'release_docs/RELEASE.txt')
-rw-r--r--release_docs/RELEASE.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 0bd31a0..986b1e8 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -385,6 +385,18 @@ Bug Fixes since HDF5-1.10.3 release
(JTH - 2018/08/25, HDFFV-10501)
+ - When iterating over an old-style group (i.e., when not using the latest
+ file format) of size 0, a NULL pointer representing the empty links
+ table would be sent to qsort(3) for sorting, which is undefined behavior.
+
+ Iterating over an empty group is explicitly tested in the links test.
+ This has not caused any failures to date and was flagged by gcc's
+ -fsanitize=undefined.
+
+ The library no longer attempts to sort an empty array.
+
+ (DER - 2019/06/18, HDFFV-10829)
+
Java Library:
----------------
- JNI native library dependencies