crypto/dpaa_sec: fix a null pointer dereference
authorYunjian Wang <wangyunjian@huawei.com>
Sat, 5 Sep 2020 10:26:02 +0000 (18:26 +0800)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 19:30:10 +0000 (21:30 +0200)
commit8839c8a1f79e722be6397590bd7d255972a398b4
tree35b4a98d2e33bd04e0bc350992bf3a104b3ad1a8
parentce96577b4da860aeceefeb44353e358780f95b65
crypto/dpaa_sec: fix a null pointer dereference

This patch fixes a null pointer dereference after null check detected by
coverity scan.

Coverity issue: 349904
Fixes: 6a0c9d364afc ("crypto/dpaax_sec: support HFN override")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.c