numam-dpdk/drivers
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
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus bus/vmbus: fix directory handle leak on error 2018-11-14 02:13:56 +01:00
common common/qat: fix for invalid response from firmware 2018-10-27 02:13:29 +02:00
compress compress/isal: fix uncleared compression states 2018-11-02 12:26:06 +01:00
crypto crypto/octeontx: fix null pointer dereferencing 2018-11-14 04:32:48 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool add missing static keyword to globals 2018-10-29 02:01:08 +01:00
net net/i40e: add parameter check for RSS flow init 2018-11-14 00:35:53 +01:00
raw drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change default driver installation directory 2018-10-27 23:22:12 +02:00