acbaf3cedc
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:
|
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
otx_cryptodev_capabilities.c | ||
otx_cryptodev_capabilities.h | ||
otx_cryptodev_hw_access.c | ||
otx_cryptodev_hw_access.h | ||
otx_cryptodev_mbox.c | ||
otx_cryptodev_mbox.h | ||
otx_cryptodev_ops.c | ||
otx_cryptodev_ops.h | ||
otx_cryptodev.c | ||
otx_cryptodev.h | ||
rte_pmd_octeontx_crypto_version.map |