summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-08-13 11:26:23 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-08-13 11:26:23 (GMT)
commit99875ecff433930d4bb5d63024b9f190e91065d4 (patch)
tree1cb31ab91a9319cadf2685ab05f33fff0048a399
parent60abc27c160721720c34b3b2e691c480c43aeed2 (diff)
parent4e65a43f143f603d2b76f6f138d0d64432937548 (diff)
downloadhdf5-99875ecff433930d4bb5d63024b9f190e91065d4.zip
hdf5-99875ecff433930d4bb5d63024b9f190e91065d4.tar.gz
hdf5-99875ecff433930d4bb5d63024b9f190e91065d4.tar.bz2
Merge pull request #2758 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4e65a43f143f603d2b76f6f138d0d64432937548': Spelling HDFFV-11127 - force RTLD_LOCAL in dlopen
-rw-r--r--release_docs/RELEASE.txt13
-rw-r--r--src/H5PLpkg.h2
2 files changed, 12 insertions, 3 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 6a9dcb5..04501b1 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -342,6 +342,15 @@ Bug Fixes since HDF5-1.10.5 release
Library
-------
+ - Explicitly declared dlopen to use RTLD_LOCAL
+
+ dlopen documentation states that if neither RTLD_GLOBAL nor
+ RTLD_LOCAL are specified, then the default behavior is unspecified.
+ The default on linux is usually RTLD_LOCAL while macos will default
+ to RTLD_GLOBAL.
+
+ (ADB - 2020/08/12, HDFFV-11127)
+
- Fixed issues CVE-2018-13870 and CVE-2018-13869
When a buffer overflow occurred because a name length was corrupted
@@ -356,7 +365,7 @@ Bug Fixes since HDF5-1.10.5 release
- Fixed the segmentation fault when reading attributes with multiple threads
It was reported that the reading of attributes with variable length string
- datatype will crash with segmentation fault particularly when the number of
+ datatype will crash with segmentation fault particularly when the number of
threads is high (>16 threads). The problem was due to the file pointer that
was set in the variable length string datatype for the attribute. That file
pointer was already closed when the attribute was accessed.
@@ -604,7 +613,7 @@ Bug Fixes since HDF5-1.10.5 release
3 : All level 2 information plus file names
(ADB - 2020/07/20, HDFFV-10005)
-
+
- h5repack was fixed to repack the reference attributes properly.
The code line that checks if the update of reference inside a compound
datatype is misplaced outside the code block loop that carries out the
diff --git a/src/H5PLpkg.h b/src/H5PLpkg.h
index dfaa4af..48208d1 100644
--- a/src/H5PLpkg.h
+++ b/src/H5PLpkg.h
@@ -94,7 +94,7 @@
# define H5PL_HANDLE void *
/* Get a handle to a plugin library. Windows: TEXT macro handles Unicode strings */
-# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
+# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY | RTLD_LOCAL)
/* Get the address of a symbol in dynamic library */
# define H5PL_GET_LIB_FUNC(H,N) dlsym(H,N)