Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: chrome/app/chrome_main.cc

Issue 6372008: Make sure the process is _really_ gone after a __debugbreak(). We've had a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/debugger_win.cc ('k') | chrome/plugin/plugin_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main.cc
===================================================================
--- chrome/app/chrome_main.cc (revision 72011)
+++ chrome/app/chrome_main.cc (working copy)
@@ -135,10 +135,12 @@
const wchar_t* file, unsigned int line,
uintptr_t reserved) {
__debugbreak();
+ _exit(1);
}
void PureCall() {
__debugbreak();
+ _exit(1);
}
#pragma warning(push)
@@ -160,6 +162,7 @@
// the buffer is then used, it provides a handy mapping of memory starting at
// address 0 for an attacker to utilize.
__debugbreak();
+ _exit(1);
}
#pragma warning(pop)
« no previous file with comments | « base/debug/debugger_win.cc ('k') | chrome/plugin/plugin_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698