mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-10 00:18:27 +01:00
processor: Bound number of exception parameters read
Bug: 1074532 Change-Id: I769074d7cbe0a47c8c8b716275d815e4b7f6dd63 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2168816 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
a2d3e8b2d5
commit
a7b621f810
3 changed files with 7 additions and 4 deletions
|
|
@ -332,7 +332,7 @@ Exception::Exception(const Dump &dump,
|
|||
D64(exception_address);
|
||||
D32(0); // number_parameters
|
||||
D32(0); // __align
|
||||
for (int i = 0; i < MD_EXCEPTION_MAXIMUM_PARAMETERS; ++i)
|
||||
for (size_t i = 0; i < MD_EXCEPTION_MAXIMUM_PARAMETERS; ++i)
|
||||
D64(0); // exception_information
|
||||
context.CiteLocationIn(this);
|
||||
assert(Size() == sizeof(MDRawExceptionStream));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue