diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-02-05 22:37:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 22:37:08 (GMT) |
commit | 3a04f2995bbbd664d7bd27ca21f48634abea6bc4 (patch) | |
tree | 02a8a503939ca5e232f152cb360ef7f7ca10c612 /c++ | |
parent | 197751c5af9692f5d18af723251247c97050b93d (diff) | |
download | hdf5-3a04f2995bbbd664d7bd27ca21f48634abea6bc4.zip hdf5-3a04f2995bbbd664d7bd27ca21f48634abea6bc4.tar.gz hdf5-3a04f2995bbbd664d7bd27ca21f48634abea6bc4.tar.bz2 |
1 10 changes for sanitize=address (#313)
* HDFFV-10865 - merge from dev, HDFArray perf fix.
* Remove duplicate setting
* Whitespace changes after clang format
* Undo version 11 clang format changes
* Merge CMake changes from develop
* test testing script merge from develop
* Update supported platforms
* PR#3 merge from develop
Diffstat (limited to 'c++')
-rw-r--r-- | c++/test/tvlstr.cpp | 2 |
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. |