Remove extra line break from PhGetMappedImagePogoEntry
@@ -3241,15 +3241,17 @@ BOOLEAN PhGetMappedImagePogoEntryByName(
{
ULONG debugEntryLength;
PIMAGE_DEBUG_POGO_SIGNATURE debugEntry;
+ PIMAGE_DEBUG_POGO_ENTRY debugPogoEntry;
- if (NT_SUCCESS(PhGetMappedImageDebugEntryByType(
+ if (!NT_SUCCESS(PhGetMappedImageDebugEntryByType(
MappedImage,
IMAGE_DEBUG_TYPE_POGO,
&debugEntryLength,
&debugEntry
)))
{
- PIMAGE_DEBUG_POGO_ENTRY debugPogoEntry;
+ return FALSE;
+ }
__try
{
@@ -3300,7 +3302,6 @@ BOOLEAN PhGetMappedImagePogoEntryByName(
debugPogoEntry = PTR_ADD_OFFSET(debugPogoEntry, ALIGN_UP(UFIELD_OFFSET(IMAGE_DEBUG_POGO_ENTRY, Name) + strlen(debugPogoEntry->Name) + sizeof(ANSI_NULL), ULONG));
}
- }
return FALSE;
}
