mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-05 21:23:37 +00:00
If the Linux minidump writer crashes while writing a dump, the dump might contain some useful information, but the header will be empty because TypedMDRVA's destructor flushes the data, and the header var doesn't go out of scope until the end of the `Dump` method. This fixes that problem by putting the header in a shorter block scope. We've seen this problem in some Android dumps in the wild, like: https://crash-stats.mozilla.com/report/index/cef5b777-02d1-43c2-bf40-133ab2160209 R=thestig@chromium.org BUG=https://bugzilla.mozilla.org/show_bug.cgi?id=1247978 Review URL: https://codereview.chromium.org/1696573003 . |
||
|---|---|---|
| .. | ||
| apple/Framework | ||
| ios | ||
| linux | ||
| mac | ||
| solaris/handler | ||
| windows | ||
| minidump_file_writer_unittest.cc | ||
| minidump_file_writer-inl.h | ||
| minidump_file_writer.cc | ||
| minidump_file_writer.h | ||