This commit is contained in:
taiyang-li 2024-05-11 10:58:24 +08:00
parent 690a8cf24b
commit f9d43c9a61

View File

@ -220,7 +220,7 @@ namespace
{
size_t res_offset = res_data.size();
res_data.resize(res_offset + res_ref.size + 1);
memcpySmallAllowReadWriteOverflow15(&res_data[res_offset], res_ref.data, res_ref.size);
memcpy(&res_data[res_offset], res_ref.data, res_ref.size);
res_offset += res_ref.size;
res_data[res_offset] = 0;
++res_offset;