From f0096a6bac78ff99f255332771867f59b2d6d73b Mon Sep 17 00:00:00 2001 From: Dejan REBRACA Date: Wed, 20 Jun 2012 11:33:17 +0200 Subject: HCI ANY_OPEN_PIPE on identity management gate crash fix Apparently, host identity management gate does not support HCI commands coming from another host (including host controller). This patch fixes a tombstone when receiving an HCI command from another host, but still doesn't have a mechanism to treat the command. Change-Id: Ib72df6bac8f503f2b66998ee6e687ae99c15d17b Author: Dejan Rebraca Signed-off-by: Dejan Rebraca Signed-off-by: Sebastian Niciarz Singed-off-by: Shuo Gao Signed-off-by: Bruce Beare Signed-off-by: Jack Ren Author-tracking-BZ: 42426 --- src/phHciNfc_AdminMgmt.c | 1 + 1 file changed, 1 insertion(+) 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 */ -- cgit v1.1