summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_handler_host_linux.cc
diff options
context:
space:
mode:
authormarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 06:44:30 +0000
committermarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 06:44:30 +0000
commit603e195332575bbe0fd60ba86041e96516372522 (patch)
treeabe0c576567fa6ba2cf05dc969fdf7cae04a5970 /chrome/browser/crash_handler_host_linux.cc
parentb20208f0d33d782f8f31470979f9ccaa30256cdb (diff)
downloadchromium_src-603e195332575bbe0fd60ba86041e96516372522.zip
chromium_src-603e195332575bbe0fd60ba86041e96516372522.tar.gz
chromium_src-603e195332575bbe0fd60ba86041e96516372522.tar.bz2
Change the message size for breakpad notifications. Due to alignment issues,
this does not seem to a problem on x86-64, but on x86-32 we would encounter assertion failures. BUG=51715 TEST=none Review URL: http://codereview.chromium.org/3155004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.cc')
-rw-r--r--chrome/browser/crash_handler_host_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/crash_handler_host_linux.cc b/chrome/browser/crash_handler_host_linux.cc
index 2ba36df..e46c60d 100644
--- a/chrome/browser/crash_handler_host_linux.cc
+++ b/chrome/browser/crash_handler_host_linux.cc
@@ -87,7 +87,7 @@ void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
// The length of the control message:
static const unsigned kControlMsgSize =
- CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(struct ucred));
+ CMSG_SPACE(2*sizeof(int)) + CMSG_SPACE(sizeof(struct ucred));
// The length of the regular payload:
static const unsigned kCrashContextSize =
sizeof(ExceptionHandler::CrashContext);