Skip to content

Commit 0c23e86

Browse files
author
Michael Schwarcz
committed
TF-M patch: Fix service handles not cleared issue (TF-M issue #230)
- Link to bug tracking: https://developer.trustedfirmware.org/T230
1 parent 5f2e4b3 commit 0c23e86

File tree

1 file changed

+2
-0
lines changed
  • components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/secure_fw/core/ipc

1 file changed

+2
-0
lines changed

components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/secure_fw/core/ipc/tfm_spm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ int32_t tfm_spm_free_conn_handle(struct tfm_spm_service_t *service,
108108
/* Remove node from handle list */
109109
tfm_list_del_node(&node->list);
110110

111+
node->rhandle = NULL;
112+
111113
/* Back handle buffer to pool */
112114
tfm_pool_free(node);
113115
return IPC_SUCCESS;

0 commit comments

Comments
 (0)