diff options
author | Mauro Matteo Cascella <mcascell@redhat.com> | 2023-05-09 09:53:17 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-05-22 19:38:44 +0300 |
commit | 81d13aa5e0cafe771f9ec4c0db9145c379f330fb (patch) | |
tree | a30b87c6921a7129ed9debf7e1a25ae4d8ca80c9 /hw/net/e1000x_common.c | |
parent | 302ac06ab9f0465e33912d6f24ec0f99e879caea (diff) |
virtio-crypto: fix NULL pointer dereference in virtio_crypto_free_request
Ensure op_info is not NULL in case of QCRYPTODEV_BACKEND_ALG_SYM algtype.
Fixes: 0e660a6f90a ("crypto: Introduce RSA algorithm")
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Reported-by: Yiming Tao <taoym@zju.edu.cn>
Message-Id: <20230509075317.1132301-1-mcascell@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: zhenwei pi<pizhenwei@bytedance.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 3e69908907f8d3dd20d5753b0777a6e3824ba824)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/net/e1000x_common.c')
0 files changed, 0 insertions, 0 deletions