Commit aac0f39e authored by Wenkai Lin's avatar Wenkai Lin Committed by Zhiqi Song
Browse files

crypto: hisilicon/sec - fix for resource leak

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7BANJ


CVE: NA

----------------------------------------------------------------------

The hisi_acc_sg_buf_unmap function is not executed
before return ret, causing resource leakage.

Signed-off-by: default avatarWenkai Lin <linwenkai6@hisilicon.com>
Signed-off-by: default avatarJiangShui Yang <yangjiangshui@h-partners.com>
parent a4b9cf89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment