From 6690554c4bf4c2fe5aeb13cc38f3c6a10d57fc14 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Wed, 5 Nov 2014 17:40:47 +0000 Subject: Fix UMR and potential crash in Mac dump_syms. Patch by Robert Sesek 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 --- src/tools/mac/dump_syms/dump_syms_tool.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tools') 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; -- cgit v1.2.1