mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-22 13:55:36 +00:00
Ensure mappings that are too large are not included in the module list
This commit is contained in:
parent
f49c2f1a20
commit
d649b2a3fd
|
@ -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