From 9ff43d0c3c78d2cb0283b171df0d76c89a6ba060 Mon Sep 17 00:00:00 2001 From: Amirreza Zarrabi Date: Tue, 21 Jan 2025 20:28:55 -0800 Subject: [PATCH] libqcomtee: fix wrong param attribute It is set incorrectly when marshaling in callback request. Signed-off-by: Amirreza Zarrabi --- libqcomtee/src/qcomtee_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqcomtee/src/qcomtee_object.c b/libqcomtee/src/qcomtee_object.c index 3d2a30b..2e85b07 100644 --- a/libqcomtee/src/qcomtee_object.c +++ b/libqcomtee/src/qcomtee_object.c @@ -608,7 +608,7 @@ static int qcomtee_object_cb_marshal_in(struct qcomtee_param *params, break; case TEE_IOCTL_PARAM_ATTR_TYPE_OBJREF_OUTPUT: - params[i].attr = QCOMTEE_OBJREF_INPUT; + params[i].attr = QCOMTEE_OBJREF_OUTPUT; break; default: /* NEVER GET HERE! */