| Index: chrome/app/breakpad_linux.cc
|
| diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
|
| index cf9d0c7b08d1c5e5da71af79c70a7d500fb4faaa..2fc963339c5119476358ddf331ec62f6d69cb16a 100644
|
| --- a/chrome/app/breakpad_linux.cc
|
| +++ b/chrome/app/breakpad_linux.cc
|
| @@ -825,8 +825,7 @@ bool NonBrowserCrashHandler(const void* crash_context,
|
| hdr->cmsg_level = SOL_SOCKET;
|
| hdr->cmsg_type = SCM_RIGHTS;
|
| hdr->cmsg_len = kControlMsgLenSize;
|
| - ((int*) CMSG_DATA(hdr))[0] = fds[0];
|
| - ((int*) CMSG_DATA(hdr))[1] = fds[1];
|
| + memcpy(CMSG_DATA(hdr), fds, sizeof(fds));
|
|
|
| if (HANDLE_EINTR(sys_sendmsg(fd, &msg, 0)) < 0) {
|
| static const char errmsg[] = "Failed to tell parent about crash.\n";
|
|
|