summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-02-05 22:37:52 (GMT)
committerGitHub <noreply@github.com>2021-02-05 22:37:52 (GMT)
commit7d2d3bed473aa853f0b2f06559c7080515a65d28 (patch)
treec59400fef7455a5afa25365bd56244ed65eb87e0 /c++
parentedb1324a3aba9a297edd4b1bce7811b54c229454 (diff)
downloadhdf5-7d2d3bed473aa853f0b2f06559c7080515a65d28.zip
hdf5-7d2d3bed473aa853f0b2f06559c7080515a65d28.tar.gz
hdf5-7d2d3bed473aa853f0b2f06559c7080515a65d28.tar.bz2
1 12 changes for sanitize=address (#314)
* OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version * Merge workflow and minor changes from develop * Update supported platforms * PR#3 merge from develop
Diffstat (limited to 'c++')
-rw-r--r--c++/test/tvlstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/tvlstr.cpp b/c++/test/tvlstr.cpp
index 8f0c0ab..77bf378 100644
--- a/c++/test/tvlstr.cpp
+++ b/c++/test/tvlstr.cpp
@@ -187,7 +187,7 @@ test_vlstring_dataset()
// Test scalar type dataset with 1 value.
dset1 = root.createDataSet("test_scalar_small", vlst, ds_space);
- dynstring_ds_write = (char *)HDcalloc(1, sizeof(char));
+ dynstring_ds_write = (char *)HDcalloc(2, sizeof(char));
HDmemset(dynstring_ds_write, 'A', 1);
// Write data to the dataset, then read it back.