Don't mess with input string
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 35s
Builds / ExectOS (i686) (push) Successful in 34s

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);
/* Make sure last string is NULL-terminated */
String[SectionSize] = L'\0';
Array[Count] = NULL;
Array[0] = String;