diff options
author | Ben Wagner <bungeman@chromium.org> | 2023-05-03 16:25:52 -0400 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2023-05-03 20:38:08 +0000 |
commit | 837b0f5d52701df4a88b94eaa8b0a093e33ff45d (patch) | |
tree | a9aa5bbef5c3f9c4e0baa0f35c80886d6987c463 | |
parent | 6e319cac57ef30f98a5c79c54efee1584f018491 (diff) | |
download | google-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.h | 2 |
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 { |