From a7b621f8107a94d8cdcd49d49bca645aa3bae098 Mon Sep 17 00:00:00 2001 From: Joshua Peraza Date: Mon, 27 Apr 2020 14:58:17 -0700 Subject: 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 --- src/google_breakpad/common/minidump_format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/google_breakpad/common') diff --git a/src/google_breakpad/common/minidump_format.h b/src/google_breakpad/common/minidump_format.h index 6eceddbb..7b36d112 100644 --- a/src/google_breakpad/common/minidump_format.h +++ b/src/google_breakpad/common/minidump_format.h @@ -529,7 +529,7 @@ static const size_t MDRawMemoryList_minsize = offsetof(MDRawMemoryList, memory_ranges[0]); -#define MD_EXCEPTION_MAXIMUM_PARAMETERS 15 +#define MD_EXCEPTION_MAXIMUM_PARAMETERS 15u typedef struct { uint32_t exception_code; /* Windows: MDExceptionCodeWin, -- cgit v1.2.1