mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1232765 - Remove the workaround added in bug 1022050
This commit is contained in:
parent
86d04bd25d
commit
84a0f038cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user