summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5VLff.F90
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2019-06-13 15:41:39 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2019-06-13 15:41:39 (GMT)
commitd1b43964b39f4fec215e2e2a815f3f747971a876 (patch)
treeefe6848c2ece6ff3ea94618f86905a9736c7bda8 /fortran/src/H5VLff.F90
parent92bebb782e7bdfb604079430c005dd8513272eb6 (diff)
parente5d1da02244603f19e165c573326835f7a634b47 (diff)
downloadhdf5-d1b43964b39f4fec215e2e2a815f3f747971a876.zip
hdf5-d1b43964b39f4fec215e2e2a815f3f747971a876.tar.gz
hdf5-d1b43964b39f4fec215e2e2a815f3f747971a876.tar.bz2
Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop
Diffstat (limited to 'fortran/src/H5VLff.F90')
-rw-r--r--fortran/src/H5VLff.F903
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/src/H5VLff.F90 b/fortran/src/H5VLff.F90
index 0c5e8fd..9abc157 100644
--- a/fortran/src/H5VLff.F90
+++ b/fortran/src/H5VLff.F90
@@ -232,7 +232,8 @@ CONTAINS
hdferr = 0
IF(PRESENT(name_len))THEN
- name_len = INT(H5VLget_connector_name(obj_id, c_name, 0_SIZE_T), SIZE_T)
+ c_name(1:1)(1:1) = C_NULL_CHAR
+ name_len = INT(H5VLget_connector_name(obj_id, c_name, 1_SIZE_T), SIZE_T)
IF(name_len.LT.0) hdferr = H5I_INVALID_HID_F
ELSE
l = INT(LEN(name)+1,SIZE_T)