Don't mess with input string
This commit is contained in:
parent
c4d5b5bb25
commit
99ff358287
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user