summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Hamilton <jham@google.com>2012-08-29 18:39:52 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-29 18:39:52 -0700
commitcbef2c806acfba5b63963844fccfe3fae975d6bd (patch)
tree02455051d20326efe8188e303ac22c16da49ed64
parent1985108ceba65f0b01d5c4c41da49073c5d01230 (diff)
parentf0096a6bac78ff99f255332771867f59b2d6d73b (diff)
downloadexternal_libnfc-nxp-cbef2c806acfba5b63963844fccfe3fae975d6bd.zip
external_libnfc-nxp-cbef2c806acfba5b63963844fccfe3fae975d6bd.tar.gz
external_libnfc-nxp-cbef2c806acfba5b63963844fccfe3fae975d6bd.tar.bz2
Merge "HCI ANY_OPEN_PIPE on identity management gate crash fix"
-rw-r--r--src/phHciNfc_AdminMgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phHciNfc_AdminMgmt.c b/src/phHciNfc_AdminMgmt.c
index b65abf2..45298a1 100644
--- a/src/phHciNfc_AdminMgmt.c
+++ b/src/phHciNfc_AdminMgmt.c
@@ -997,6 +997,7 @@ static
pipe_id = hcp_message->payload[RESPONSE_PIPEID_OFFSET];
p_pipe_info = (phHciNfc_Pipe_Info_t *)
phOsalNfc_GetMemory(sizeof(phHciNfc_Pipe_Info_t));
+ memset(p_pipe_info, 0, sizeof(phHciNfc_Pipe_Info_t));
if(NULL != p_pipe_info)
{
/* The Source Host is the UICC Host */