diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-02-05 16:35:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 16:35:05 (GMT) |
commit | b3934e99ebecee285cb63f07cc793d40323ffe33 (patch) | |
tree | b7eabe1e5d5984185148044a39dbc009fbf3cc9b /c++/test/tvlstr.cpp | |
parent | a06693be21d93a2b374b013dfc3e845b4e274a58 (diff) | |
download | hdf5-b3934e99ebecee285cb63f07cc793d40323ffe33.zip hdf5-b3934e99ebecee285cb63f07cc793d40323ffe33.tar.gz hdf5-b3934e99ebecee285cb63f07cc793d40323ffe33.tar.bz2 |
Changes for sanitize=address (#312)
* OESS-98 convert plugin option to FetchContent, add tests
* Fixes for pkcfg files because of plugin option
* OESS-98 fix tools test for plugins
* Keep doxygen comments under 100 chars long - format hint
* Whitespace
* HDFFV-11144 - Reclassify CMake messages
* HDFFV-11099/11100 added help text
* Reworked switch statement to compare string instead
* Fix typo
* Update CDash mode
* Correct name of threadsafe
* Correct option name
* Undo accidental commit
* Note LLVM 10 to 11 format default changes
* Update format plugin
* Undo clang-format version 11 changes
* One more correction
* Update supported platforms
* Revert whitespace changes
* Correct whitespace
* Changes from PR#3
Diffstat (limited to 'c++/test/tvlstr.cpp')
-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. |