From c7c4faee4ab810c49b8d6681cd667d435774c66e Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Wed, 31 Aug 2016 22:46:17 +0100 Subject: inject: Remove NumberOfRvaAndSizes assertion. It doesn't seem true nor necessary. --- inject/injectee.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'inject') diff --git a/inject/injectee.cpp b/inject/injectee.cpp index 8c278ae7..2987c145 100644 --- a/inject/injectee.cpp +++ b/inject/injectee.cpp @@ -311,7 +311,6 @@ getOptionalHeader(HMODULE hModule, szModule, pNtHeaders->Signature); return NULL; } - assert(pNtHeaders->OptionalHeader.NumberOfRvaAndSizes > 0); PIMAGE_OPTIONAL_HEADER pOptionalHeader = &pNtHeaders->OptionalHeader; return pOptionalHeader; } -- cgit v1.2.3