Increase the maximum number of modules allowed in minidumps.

Bug: google-breakpad:743
Change-Id: I2e40b5cc36c012c18a1c4637634fb139b0d8e14d
Reviewed-on: https://chromium-review.googlesource.com/647886
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Tobias Sargeant 2017-09-01 15:39:49 +01:00 committed by Tobias Sargeant
parent c4335f0435
commit a1dbcdcb43

View file

@ -2578,7 +2578,7 @@ void MinidumpModule::Print() {
// //
uint32_t MinidumpModuleList::max_modules_ = 1024; uint32_t MinidumpModuleList::max_modules_ = 2048;
MinidumpModuleList::MinidumpModuleList(Minidump* minidump) MinidumpModuleList::MinidumpModuleList(Minidump* minidump)
@ -2645,7 +2645,7 @@ bool MinidumpModuleList::Read(uint32_t expected_size) {
} }
if (module_count > max_modules_) { if (module_count > max_modules_) {
BPLOG(ERROR) << "MinidumpModuleList count " << module_count_ << BPLOG(ERROR) << "MinidumpModuleList count " << module_count <<
" exceeds maximum " << max_modules_; " exceeds maximum " << max_modules_;
return false; return false;
} }
@ -3758,7 +3758,7 @@ bool MinidumpUnloadedModule::ReadAuxiliaryData() {
// //
uint32_t MinidumpUnloadedModuleList::max_modules_ = 1024; uint32_t MinidumpUnloadedModuleList::max_modules_ = 2048;
MinidumpUnloadedModuleList::MinidumpUnloadedModuleList(Minidump* minidump) MinidumpUnloadedModuleList::MinidumpUnloadedModuleList(Minidump* minidump)