aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org>2014-11-05 17:40:47 +0000
committermark@chromium.org <mark@chromium.org>2014-11-05 17:40:47 +0000
commit6690554c4bf4c2fe5aeb13cc38f3c6a10d57fc14 (patch)
tree9603533515083b0d134a111f9a3d93baacc02a31 /src/tools
parentRead dynamic symbols table even if binary contains debug info (diff)
downloadbreakpad-6690554c4bf4c2fe5aeb13cc38f3c6a10d57fc14.tar.xz
Fix UMR and potential crash in Mac dump_syms.
Patch by Robert Sesek <rsesek@chromium.org> BUG=https://code.google.com/p/google-breakpad/issues/detail?id=614 R=mark@chromium.org Review URL: https://breakpad.appspot.com/9724002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1401 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/mac/dump_syms/dump_syms_tool.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/mac/dump_syms/dump_syms_tool.mm b/src/tools/mac/dump_syms/dump_syms_tool.mm
index 8bade259..1880cd3b 100644
--- a/src/tools/mac/dump_syms/dump_syms_tool.mm
+++ b/src/tools/mac/dump_syms/dump_syms_tool.mm
@@ -49,7 +49,8 @@ using google_breakpad::scoped_ptr;
using std::vector;
struct Options {
- Options() : srcPath(), arch(), cfi(true), handle_inter_cu_refs(true) { }
+ Options()
+ : srcPath(), dsymPath(), arch(), cfi(true), handle_inter_cu_refs(true) {}
NSString *srcPath;
NSString *dsymPath;
const NXArchInfo *arch;