numam-dpdk/drivers/crypto
Yong Wang 963898f0e3 crypto/qat: fix allocation check and leak
There are several func calls to rte_zmalloc() which don't do null
point check on the return value. And before return, the memory is not
freed. Fix it by adding null point check and rte_free().

Fixes: 1703e94ac5 ("qat: add driver for QuickAssist devices")
Fixes: e09231eaa2 ("crypto/qat: add SGL capability")
Cc: stable@dpdk.org

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-02-01 00:34:51 +01:00
..
aesni_gcm cryptodev: remove duplicated device name length 2018-01-20 16:10:53 +01:00
aesni_mb cryptodev: remove duplicated device name length 2018-01-20 16:10:53 +01:00
armv8 cryptodev: remove duplicated device name length 2018-01-20 16:10:53 +01:00
dpaa2_sec crypto/dpaa2_sec: fix enum conversion for GCM 2018-01-30 16:54:50 +01:00
dpaa_sec crypto/dpaa_sec: fix enum conversion for GCM 2018-01-30 16:54:50 +01:00
kasumi cryptodev: remove duplicated device name length 2018-01-20 16:10:53 +01:00
mrvl crypto/mrvl: fix export map file name 2018-01-29 23:35:29 +01:00
null build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
openssl build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
qat crypto/qat: fix allocation check and leak 2018-02-01 00:34:51 +01:00
scheduler crypto/scheduler: fix strncpy 2018-01-31 18:59:39 +01:00
snow3g cryptodev: remove duplicated device name length 2018-01-20 16:10:53 +01:00
zuc cryptodev: remove duplicated device name length 2018-01-20 16:10:53 +01:00
Makefile drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00