-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential Memory Leak at tee_fs_rpc_opendir
of core/tee/tee_fs_rpc.c
#1960
Comments
Hi @viennadd , Thanks for reporting. Indeed, line 380 looks wrong and line 384 also. Would you like to submit a pull request? |
viennadd
added a commit
to viennadd/optee_os
that referenced
this issue
Nov 22, 2017
viennadd
added a commit
to viennadd/optee_os
that referenced
this issue
Nov 22, 2017
viennadd
added a commit
to viennadd/optee_os
that referenced
this issue
Nov 22, 2017
@jforissier Sure, I have added an update on |
viennadd
added a commit
to viennadd/optee_os
that referenced
this issue
Nov 22, 2017
Fixes: OP-TEE#1960 Signed-off-by: ...your name and email here... Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
viennadd
added a commit
to viennadd/optee_os
that referenced
this issue
Nov 22, 2017
Fixes: OP-TEE#1960 Signed-off-by: Alex CHEN <viennadd@gmail.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
viennadd
added a commit
to viennadd/optee_os
that referenced
this issue
Nov 22, 2017
Fixes: OP-TEE#1960 Signed-off-by: Alex CHEN <viennadd@gmail.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
takuya-sakata
pushed a commit
to renesas-rcar/optee_os
that referenced
this issue
May 28, 2018
Fixes: OP-TEE/optee_os#1960 Signed-off-by: Alex CHEN <viennadd@gmail.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
jordanrh1
pushed a commit
to ms-iot/optee_os
that referenced
this issue
Oct 16, 2018
Fixes: OP-TEE/optee_os#1960 Signed-off-by: Alex CHEN <viennadd@gmail.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
Our code scanner Pinpoint has reported a potential memory leak at the follow:
optee_os/core/tee/tee_fs_rpc.c
Lines 364 to 381 in 24bb751
the early return of
return TEE_ERROR_BAD_STATE;
at line 380 will leak the memory block pointed bydir
(line 364) , could someone have a look and see if it needs a patch ?Best Regards,
Alex, Sourcebrella Inc.
The text was updated successfully, but these errors were encountered: