summaryrefslogtreecommitdiffstats
path: root/breakpad/linux
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 21:10:34 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 21:10:34 +0000
commit418bd172313a42b306dbe752bfdd9f4519648df1 (patch)
treeb9de376e540afab7321ce6b6083d0e77ac2a57d6 /breakpad/linux
parent4e2c3f35a5285bcb45b7b11dc724d3c01867448f (diff)
downloadchromium_src-418bd172313a42b306dbe752bfdd9f4519648df1.zip
chromium_src-418bd172313a42b306dbe752bfdd9f4519648df1.tar.gz
chromium_src-418bd172313a42b306dbe752bfdd9f4519648df1.tar.bz2
Initialize the age field in Linux Breakpad.
BUG=none TEST=none Review URL: http://codereview.chromium.org/149273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad/linux')
-rw-r--r--breakpad/linux/minidump_writer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/breakpad/linux/minidump_writer.cc b/breakpad/linux/minidump_writer.cc
index a3aabc9..67cc341 100644
--- a/breakpad/linux/minidump_writer.cc
+++ b/breakpad/linux/minidump_writer.cc
@@ -554,7 +554,8 @@ class MinidumpWriter {
signature[i] ^= xor_buf[i];
done += sizeof(xor_buf);
}
- cv_ptr += sizeof(uint32_t); // Skip age field
+ my_memset(cv_ptr, 0, sizeof(uint32_t)); // Set age to 0 on Linux.
+ cv_ptr += sizeof(uint32_t);
}
// Write pdb_file_name