mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-26 02:22:58 +00: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:
committed by
Aaron Gable
parent
f97e47e55e
commit
f3d28e9c4a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user