Don't mess with input string

This commit is contained in:
Rafal Kupiec 2024-04-30 10:31:17 +02:00
parent c4d5b5bb25
commit 99ff358287
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -817,7 +817,6 @@ BlpGetModuleInfoStrings(IN PWCHAR SectionData,
RtlCopyMemory(String, InfoStrings, SectionSize); RtlCopyMemory(String, InfoStrings, SectionSize);
/* Make sure last string is NULL-terminated */ /* Make sure last string is NULL-terminated */
String[SectionSize] = L'\0';
Array[Count] = NULL; Array[Count] = NULL;
Array[0] = String; Array[0] = String;