summaryrefslogtreecommitdiffstats
path: root/breakpad/linux
diff options
context:
space:
mode:
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