Bug 1066570 - b2g NFC uninitialized memory bug. r=dimi

From 1ffa3080ca8b3ac70564734cd02cae72fddf730c Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/NfcMessageHandler.cpp | 3 +++
 1 file changed, 3 insertions(+)
This commit is contained in:
Yoshi Huang 2014-09-23 12:50:21 +08:00
parent 7998b5e4a2
commit 6b66ccbb04

View File

@ -130,6 +130,9 @@ NfcMessageHandler::GeneralResponse(const Parcel& aParcel, EventOptions& aOptions
case NfcRequest::CloseReq:
type = kCloseResponse;
break;
default:
CHROMIUM_LOG("Nfcd, unknown general response %d", pendingReq);
return false;
}
aOptions.mType = NS_ConvertUTF8toUTF16(type);