summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerd Heber <gheber@hdfgroup.org>2020-03-29 21:04:58 (GMT)
committerGerd Heber <gheber@hdfgroup.org>2020-03-29 21:04:58 (GMT)
commit2dfc047bc4aca7c13bccf44da97bff026cbbf5a6 (patch)
treec3716828b41b842960e72155c9c5b68199244e01 /tools
parente9e3e2f1d67ccf71cc5af711065d1f85761ab5b7 (diff)
downloadhdf5-2dfc047bc4aca7c13bccf44da97bff026cbbf5a6.zip
hdf5-2dfc047bc4aca7c13bccf44da97bff026cbbf5a6.tar.gz
hdf5-2dfc047bc4aca7c13bccf44da97bff026cbbf5a6.tar.bz2
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"