aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wagner <bungeman@chromium.org>2023-05-03 16:25:52 -0400
committerJoshua Peraza <jperaza@chromium.org>2023-05-03 20:38:08 +0000
commit837b0f5d52701df4a88b94eaa8b0a093e33ff45d (patch)
treea9aa5bbef5c3f9c4e0baa0f35c80886d6987c463
parent6e319cac57ef30f98a5c79c54efee1584f018491 (diff)
downloadgoogle-breakpad-837b0f5d52701df4a88b94eaa8b0a093e33ff45d.tar.gz
Fix MDRawCrashpadAnnotationList::objects type
MDRawCrashpadAnnotationList::objects is a flexible array of MDRawCrashpadAnnotation and not MDLocationDescriptor. Breakpad does not currently use the MDRawCrashpadAnnotationList type, but its definition should be updated to reflect the correct type to avoid confusion. Change-Id: I58b5b0e4f7f95bc003b103e2750e3759c3e31292 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4503630 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
-rw-r--r--src/google_breakpad/common/minidump_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google_breakpad/common/minidump_format.h b/src/google_breakpad/common/minidump_format.h
index 802cc7e3..959d15ba 100644
--- a/src/google_breakpad/common/minidump_format.h
+++ b/src/google_breakpad/common/minidump_format.h
@@ -1105,7 +1105,7 @@ typedef struct {
typedef struct {
uint32_t count;
- MDLocationDescriptor objects[0]; /* MDRawCrashpadAnnotation */
+ MDRawCrashpadAnnotation objects[0];
} MDRawCrashpadAnnotationList;
typedef struct {