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:
parent
437706b60a
commit
9c1dc68a2f
1 changed files with 1 additions and 1 deletions
|
@ -1128,7 +1128,7 @@ main(int argc, char** argv) {
|
||||||
nhdr.n_type = NT_AUXV;
|
nhdr.n_type = NT_AUXV;
|
||||||
if (!writea(1, &nhdr, sizeof(nhdr)) ||
|
if (!writea(1, &nhdr, sizeof(nhdr)) ||
|
||||||
!writea(1, "CORE\0\0\0\0", 8) ||
|
!writea(1, "CORE\0\0\0\0", 8) ||
|
||||||
!writea(1, &crashinfo.auxv, crashinfo.auxv_length)) {
|
!writea(1, crashinfo.auxv, crashinfo.auxv_length)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue