mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-07 23:18:14 +01:00
Handle multiple microdumps in system log.
Properly handle microdump processing, when the system_log file contains an incomplete microdump section at the top. The processor will process the first complete microdump section. R=primiano@chromium.org Review URL: https://codereview.chromium.org/1742843002 .
This commit is contained in:
parent
f97e47e55e
commit
f3d28e9c4a
3 changed files with 211 additions and 4 deletions
|
|
@ -213,13 +213,12 @@ Microdump::Microdump(const string& contents)
|
|||
in_microdump = true;
|
||||
continue;
|
||||
}
|
||||
if (line.find(kMicrodumpEnd) != string::npos) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!in_microdump) {
|
||||
continue;
|
||||
}
|
||||
if (line.find(kMicrodumpEnd) != string::npos) {
|
||||
break;
|
||||
}
|
||||
|
||||
size_t pos;
|
||||
if ((pos = line.find(kOsKey)) != string::npos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue