diff options
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/crash_reporting/vectored_handler_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/crash_reporting/vectored_handler_unittest.cc b/chrome_frame/crash_reporting/vectored_handler_unittest.cc index 3df4608..d7fc4ac 100644 --- a/chrome_frame/crash_reporting/vectored_handler_unittest.cc +++ b/chrome_frame/crash_reporting/vectored_handler_unittest.cc @@ -128,9 +128,9 @@ MATCHER_P(ExceptionCodeIs, code, "") { return (arg->ExceptionRecord->ExceptionCode == code); } -void OverflowStack() { - char tmp[1024 * 2048]; - ZeroMemory(tmp, sizeof(tmp)); +DECLSPEC_NOINLINE static void OverflowStack() { + char tmp[1024 * 2048] = {0}; + GetSystemInfo(reinterpret_cast<SYSTEM_INFO*>(&tmp)); } DWORD WINAPI CrashingThread(PVOID tmp) { |