From 99ff35828702285ebc5df93916d44df1b481d20b Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Tue, 30 Apr 2024 10:31:17 +0200 Subject: [PATCH] Don't mess with input string --- xtldr/protocol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xtldr/protocol.c b/xtldr/protocol.c index d90f33c..4d61cea 100644 --- a/xtldr/protocol.c +++ b/xtldr/protocol.c @@ -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;