Fix serialisation of rdctype::str to always NULL-terminate

This commit is contained in:
baldurk
2017-07-05 15:53:39 +01:00
parent cd0856cd4c
commit 7d5e047e66
+2 -1
View File
@@ -506,9 +506,10 @@ public:
}
else
{
create_array_uninit(el, sz);
create_array_uninit(el, sz + 1);
for(int32_t i = 0; i < sz; i++)
Serialise("", el.elems[i]);
el.elems[sz] = 0;
}
}