gitlab is upgraded to version 13, please report any issues and enjoy

Commit 1f4098f7 authored by Mladen Ivkovic's avatar Mladen Ivkovic
Browse files

small fix in reading hdf5 attributes for GEAR

parent e0750f24
......@@ -80,7 +80,7 @@ io_read_string_array_attribute(hid_t grp, const char *name, void *data,
for (hsize_t i = 0; i < number_element; i++) {
char *src = tmp + i * sdim;
char *dest = data + i * size_per_element;
memcpy(dest, src, sdim);
memcpy(dest, src, sdim + 1);
}
/* Cleanup */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment