aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorPei Xiao <xiaopei01@kylinos.cn>2025-07-23 14:22:41 +0800
committerJens Wiklander <jens.wiklander@linaro.org>2025-08-04 14:28:04 +0200
commit50a74d0095cd23d2012133e208df45a298868870 (patch)
tree6978f3fa0c1c25f7d0baff5afd8ccdb901dcc4ee /rust/pin-init/internal/src
parenttee: fix NULL pointer dereference in tee_shm_put (diff)
downloadwireguard-linux-50a74d0095cd23d2012133e208df45a298868870.tar.xz
wireguard-linux-50a74d0095cd23d2012133e208df45a298868870.zip
tee: fix memory leak in tee_dyn_shm_alloc_helper
When shm_register() fails in tee_dyn_shm_alloc_helper(), the pre-allocated pages array is not freed, resulting in a memory leak. Fixes: cf4441503e20 ("tee: optee: Move pool_op helper functions") Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions