Commit 0b496794 authored by Wenkai Lin's avatar Wenkai Lin Committed by JiangShui
Browse files

crypto: hisilicon/sec - fix for resource leak

driver inclusion
category: bugfix
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 1c8c93f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment