summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.cc
diff options
context:
space:
mode:
authormmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-20 00:54:59 +0000
committermmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-20 00:54:59 +0000
commit0e1569d61a3e34999bace10a7ca497b673454ada (patch)
tree17108089f8f33f1a7b1305bf3ce00074e35309b6 /chrome/app/breakpad_linux.cc
parentae04ea37988664d28cdf8c26829e3c87c144d5f3 (diff)
downloadchromium_src-0e1569d61a3e34999bace10a7ca497b673454ada.zip
chromium_src-0e1569d61a3e34999bace10a7ca497b673454ada.tar.gz
chromium_src-0e1569d61a3e34999bace10a7ca497b673454ada.tar.bz2
Revert change in r31143 which caused crash signal msg size to change and subsequent read to fail.
This was causing MetricsServiceTest.CrashRenderers to fail on Linux branded builds with CHROME_HEADLESS set: http://build.chromium.org/buildbot/waterfall.fyi/builders/Google%20Chrome%20Linux/builds/4723/steps/ui_tests/logs/CrashRenderers Review URL: http://codereview.chromium.org/414010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r--chrome/app/breakpad_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index ba9edbf..f87c5e5 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -637,7 +637,7 @@ NonBrowserCrashHandler(const void* crash_context, size_t crash_context_size,
iov[0].iov_base = const_cast<void*>(crash_context);
iov[0].iov_len = crash_context_size;
iov[1].iov_base = guid;
- iov[1].iov_len = guid_len + 1;
+ iov[1].iov_len = kGuidSize + 1;
iov[2].iov_base = crash_url;
iov[2].iov_len = kMaxActiveURLSize + 1;
iov[3].iov_base = distro;