numam-dpdk/drivers/crypto/octeontx
Anoob Joseph acbaf3cedc crypto/octeontx: fix non null terminated device name
If the length of string pointed by 'name' is equal to or greater than
the sizeof cptvf->dev_name string, the resultant string will not be
null terminated. Using strlcpy would make sure the string would always
be null terminated.

Coverity Issue: 323492
Fixes: 0dc1cffa4d ("crypto/octeontx: add hardware init routine")

Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>
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: add burst dequeue 2018-10-17 12:20:06 +02:00
otx_cryptodev_ops.h crypto/octeontx: add basic device operations 2018-10-17 12:20:06 +02:00
otx_cryptodev.c crypto/octeontx: add global resource init 2018-10-17 12:20:06 +02: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