numam-dpdk/drivers/crypto/octeontx
Anoob Joseph accf8ca7b0 crypto/octeontx: fix null pointer dereferencing
The function otx_cpt_get_resource() would be setting the pointer
'instance'. In case of error, 'instance' would be set to NULL, and
returns rte_errno. If rte_errno when 'instance' is set to NULL, it can
lead to NULL pointer dereferencing.

Coverity Issue: 323486, 323489
Fixes: bfe2ae495e ("crypto/octeontx: add PMD skeleton")
Fixes: 0961348fdf ("crypto/octeontx: add queue pair functions")

Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
2018-11-14 04:32:48 +01:00
..
Makefile crypto/octeontx: add mailbox routines 2018-10-17 12:20:06 +02:00
meson.build crypto/octeontx: add mailbox routines 2018-10-17 12:20:06 +02:00
otx_cryptodev_capabilities.c crypto/octeontx: add symmetric capabilities 2018-10-17 12:16:54 +02:00
otx_cryptodev_capabilities.h crypto/octeontx: add symmetric capabilities 2018-10-17 12:16:54 +02:00
otx_cryptodev_hw_access.c crypto/octeontx: fix non null terminated device name 2018-11-14 04:32:48 +01:00
otx_cryptodev_hw_access.h crypto/octeontx: add burst dequeue 2018-10-17 12:20:06 +02:00
otx_cryptodev_mbox.c crypto/octeontx: add mailbox routines 2018-10-17 12:20:06 +02:00
otx_cryptodev_mbox.h crypto/octeontx: add mailbox routines 2018-10-17 12:20:06 +02:00
otx_cryptodev_ops.c crypto/octeontx: fix null pointer dereferencing 2018-11-14 04:32:48 +01:00
otx_cryptodev_ops.h crypto/octeontx: add basic device operations 2018-10-17 12:20:06 +02:00
otx_cryptodev.c crypto/octeontx: fix null pointer dereferencing 2018-11-14 04:32:48 +01:00
otx_cryptodev.h crypto/octeontx: add PMD skeleton 2018-10-17 12:16:54 +02:00
rte_pmd_octeontx_crypto_version.map crypto/octeontx: add PMD skeleton 2018-10-17 12:16:54 +02:00