From c75e316359ea962be11e468697c5c5ffbae0bcb1 Mon Sep 17 00:00:00 2001 From: "qsr@chromium.org" Date: Fri, 12 Sep 2014 07:50:35 +0000 Subject: [PATCH] This CL initialize NSData in HTTPMultipartUpload.m to nil. Problem introduced by issue 2764002. R=qsr@chromium.org Review URL: https://breakpad.appspot.com/2794002 Patch from Oliver Robin . git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1374 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/mac/HTTPMultipartUpload.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mac/HTTPMultipartUpload.m b/src/common/mac/HTTPMultipartUpload.m index bd88cffa..29fa040b 100644 --- a/src/common/mac/HTTPMultipartUpload.m +++ b/src/common/mac/HTTPMultipartUpload.m @@ -191,7 +191,7 @@ [response_ release]; response_ = nil; - NSData *data; + NSData *data = nil; if ([[req URL] isFileURL]) { [[req HTTPBody] writeToURL:[req URL] options:0 error:error]; } else {