From 9c1dc68a2f44cf7b12bf43abc869af406afc8bad Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Fri, 19 Jul 2013 00:58:48 +0000 Subject: [PATCH] Fix erronoius address of crashinfo.auxv in minidump-2-core. BUG=537 A=ajwong@chromium.org Original review: https://breakpad.appspot.com/615002/ R=ajwong@chromium.org Review URL: https://breakpad.appspot.com/616002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1203 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/tools/linux/md2core/minidump-2-core.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/linux/md2core/minidump-2-core.cc b/src/tools/linux/md2core/minidump-2-core.cc index 333a0e58..476f2dfa 100644 --- a/src/tools/linux/md2core/minidump-2-core.cc +++ b/src/tools/linux/md2core/minidump-2-core.cc @@ -1128,7 +1128,7 @@ main(int argc, char** argv) { nhdr.n_type = NT_AUXV; if (!writea(1, &nhdr, sizeof(nhdr)) || !writea(1, "CORE\0\0\0\0", 8) || - !writea(1, &crashinfo.auxv, crashinfo.auxv_length)) { + !writea(1, crashinfo.auxv, crashinfo.auxv_length)) { return 1; }