aesni_mb: fix null pointer dereferencing
authorDeepak Kumar Jain <deepak.k.jain@intel.com>
Tue, 7 Jun 2016 09:36:11 +0000 (10:36 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Jun 2016 14:36:20 +0000 (16:36 +0200)
commitedddb7f382b3080972680f5a411a6bbba57fdc92
tree0a537de0868f72ff7b8afd4b7180371cca44897c
parent2d1fc2b16c20656541af1b912fd571cf0d2f9832
aesni_mb: fix null pointer dereferencing

Fix null pointer dereferencing by reporting if null and
exiting the function.

Coverity issue: 126584
Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto op oriented")

Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c