summaryrefslogtreecommitdiffstats
path: root/release_docs/RELEASE.txt
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-04-29 14:33:43 (GMT)
committerGitHub <noreply@github.com>2021-04-29 14:33:43 (GMT)
commit16f9b070ce084313de37cc73968f70f2cba0b75a (patch)
tree187f19d17a5daff0b61d94fa0669b9277d2d0bd5 /release_docs/RELEASE.txt
parent138bc52facad0e6be4cfd13a860bb628c1dfd626 (diff)
downloadhdf5-16f9b070ce084313de37cc73968f70f2cba0b75a.zip
hdf5-16f9b070ce084313de37cc73968f70f2cba0b75a.tar.gz
hdf5-16f9b070ce084313de37cc73968f70f2cba0b75a.tar.bz2
Fixes a segfault when H5Pset_mdc_log_options is called multiple times on a fapl (#601)
* Committing clang-format changes * Fixes a segfault when H5Pset_mdc_log_options() is called multiple times An internal string is incorrectly freed when the API call is invoked multiple times on a property list, which will usually cause a segfault to occur. On the first call the log location is NULL so the problem doesn't occur. Fixes HDFFV-11239 * Fixes typos Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
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 f014d72..8b07393 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -427,6 +427,18 @@ New Features
(DER - 2021/04/28, HDFFV-11240)
+ - Fixes a segfault when H5Pset_mdc_log_options() is called multiple times
+
+ The call incorrectly attempts to free an internal copy of the previous
+ log location string, which causes a segfault. This only happens
+ when the call is invoked multiple times on the same property list.
+ On the first call to a given fapl, the log location is set to NULL so
+ the segfault does not occur.
+
+ The string is now handled properly and the segfault no longer occurs.
+
+ (DER - 2021/04/27, HDFFV-11239)
+
- HSYS_GOTO_ERROR now emits the results of GetLastError() on Windows
HSYS_GOTO_ERROR is an internal macro that is used to produce error