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

Unified Diff: third_party/tcmalloc/chromium/src/base/abort.cc

Issue 10541122: Abort: change the magic value written to NULL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/chromium/src/base/abort.cc
diff --git a/third_party/tcmalloc/chromium/src/base/abort.cc b/third_party/tcmalloc/chromium/src/base/abort.cc
index 05d4dd748e5468222139578e7a8ee445f7cabdee..89c9ab440cdfdac0c1e146fb0d9c76ff64abae8a 100755
--- a/third_party/tcmalloc/chromium/src/base/abort.cc
+++ b/third_party/tcmalloc/chromium/src/base/abort.cc
@@ -12,7 +12,7 @@ namespace tcmalloc {
ATTRIBUTE_NOINLINE void Abort() {
// Make a segmentation fault to force abort. Writing to a specific address
// so it's easier to find on crash stacks.
- *(reinterpret_cast<volatile char*>(NULL) + 57) = 0x2001;
+ *(reinterpret_cast<volatile char*>(NULL) + 57) = 0x21;
}
} // namespace tcmalloc
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698