mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed typo in PhCreateStringBuilder leading to heap corruption
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2630 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -680,7 +680,7 @@ PPH_STRING_BUILDER PhCreateStringBuilder(
|
||||
|
||||
if (!NT_SUCCESS(PhCreateObject(
|
||||
&stringBuilder,
|
||||
sizeof(PPH_STRING_BUILDER),
|
||||
sizeof(PH_STRING_BUILDER),
|
||||
0,
|
||||
PhStringBuilderType,
|
||||
0
|
||||
|
||||
@@ -273,7 +273,6 @@ PPH_STRING PhGetSymbolFromAddress(
|
||||
)
|
||||
{
|
||||
PSYMBOL_INFOW symbolInfo;
|
||||
BOOL result;
|
||||
PPH_STRING symbol = NULL;
|
||||
PH_SYMBOL_RESOLVE_LEVEL resolveLevel;
|
||||
ULONG64 displacement;
|
||||
|
||||
Reference in New Issue
Block a user