Ensure mappings that are too large are not included in the module list
This commit is contained in:
parent
f49c2f1a20
commit
d649b2a3fd
1 changed files with 2 additions and 1 deletions
|
@ -549,7 +549,8 @@ class MinidumpWriter {
|
|||
// Only want to include one mapping per shared lib.
|
||||
// Avoid filtering executable mappings.
|
||||
(mapping.offset != 0 && !mapping.exec) ||
|
||||
mapping.size < 4096) { // too small to get a signature for.
|
||||
mapping.size < 4096 || // too small to get a signature for.
|
||||
mapping.size > 0xFFFFFFFFULL) { // too large to include in the dump.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue