Mercurial > hg > orthanc
changeset 6191:e1168108e57f attach-custom-data
integration mainline->attach-custom-data
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 13 Jun 2025 07:24:04 +0200 |
parents | 33f88747fe68 (current diff) 97813557b6fa (diff) |
children | 9e1bf1a1af50 |
files | OrthancServer/Plugins/Engine/OrthancPlugins.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPlugins.cpp Thu Jun 12 19:55:57 2025 +0200 +++ b/OrthancServer/Plugins/Engine/OrthancPlugins.cpp Fri Jun 13 07:24:04 2025 +0200 @@ -567,7 +567,7 @@ memcpy(result, str.c_str(), str.size()); } - result[str.size() - 1] = '\0'; // Add the null terminator of the string + result[str.size()] = '\0'; // Add the null terminator of the string return result; }