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
This commit is contained in:
thestig@chromium.org 2013-07-19 00:58:48 +00:00
parent 437706b60a
commit 9c1dc68a2f

View file

@ -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;
}