Improve environment string expansion performance
@@ -2588,7 +2588,7 @@ PPH_STRING PhExpandEnvironmentStrings(
if (!PhStringRefToUnicodeString(String, &inputString))
return NULL;
- bufferLength = 0x40;
+ bufferLength = 0x80;
string = PhCreateStringEx(NULL, bufferLength);
outputString.MaximumLength = (USHORT)bufferLength;
outputString.Length = 0;
