summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerd Heber <gheber@hdfgroup.org>2020-03-30 16:26:14 (GMT)
committerGerd Heber <gheber@hdfgroup.org>2020-03-30 16:26:14 (GMT)
commita46f31c2eb436e946639bb32518ce279507fa368 (patch)
tree1c9b5b6c18f7ac32a67c69c9645a6534d8d062d3 /tools
parentc20e268979ec623fb159501e382c6cc55a5d665e (diff)
parent2dfc047bc4aca7c13bccf44da97bff026cbbf5a6 (diff)
downloadhdf5-a46f31c2eb436e946639bb32518ce279507fa368.zip
hdf5-a46f31c2eb436e946639bb32518ce279507fa368.tar.gz
hdf5-a46f31c2eb436e946639bb32518ce279507fa368.tar.bz2
Merge pull request #2479 in HDFFV/hdf5 from ~GHEBER/hdf5:bugfix/HDFFV-11065 to develop
* commit '2dfc047bc4aca7c13bccf44da97bff026cbbf5a6': Fix for HDFFV-11065.
Diffstat (limited to 'tools')
-rw-r--r--tools/src/h5ls/h5ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c
index 6c48d6e..f46d70a 100644
--- a/tools/src/h5ls/h5ls.c
+++ b/tools/src/h5ls/h5ls.c
@@ -3006,6 +3006,8 @@ main(int argc, const char *argv[])
}
else if (!HDstrncmp(argv[argno], "--s3-cred=", (size_t)10)) {
#ifdef H5_HAVE_ROS3_VFD
+ char const *start = NULL;
+
start = strchr(argv[argno], '=');
if (start == NULL) {
HDfprintf(rawerrorstream, "Error: Unable to parse null credentials tuple\n"