Bug 1232765 - Remove the workaround added in bug 1022050

This commit is contained in:
Ehsan Akhgari 2016-02-07 14:50:50 -05:00
parent 86d04bd25d
commit 84a0f038cf

View File

@ -408,14 +408,14 @@ IsBadExecPtr(uintptr_t aPtr)
{
BOOL ret = false;
#if defined(_MSC_VER) && !defined(__clang__)
#ifdef _MSC_VER
__try {
JumpTo(aPtr);
} __except (EXCEPTION_EXECUTE_HANDLER) {
ret = true;
}
#else
printf("INFO | exec test not supported on MinGW or clang-cl builds\n");
printf("INFO | exec test not supported on MinGW build\n");
// We do our best
ret = IsBadReadPtr((const void*)aPtr, 1);
#endif