Skip to content

Commit 82a8dc3

Browse files
Michael SchwarczOren Cohen
authored andcommitted
TF-M patch: Fix service handles not cleared issue (TF-M issue #230)
- Link to bug tracking: https://developer.trustedfirmware.org/T230 (cherry picked from commit 0c23e86)
1 parent fb2f96c commit 82a8dc3

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
@@ -109,6 +109,8 @@ int32_t tfm_spm_free_conn_handle(struct tfm_spm_service_t *service,
109109
/* Remove node from handle list */
110110
tfm_list_del_node(&node->list);
111111

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

0 commit comments

Comments
 (0)