[dpdk-dev] [dpdk-stable] [PATCH v2] crypto: use snprintf return value correctly

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu Oct 12 10:03:42 CEST 2017



> -----Original Message-----
> From: stable [mailto:stable-bounces at dpdk.org] On Behalf Of Tomasz
> Duszynski
> Sent: Wednesday, October 11, 2017 12:05 PM
> To: dev at dpdk.org
> Cc: Tomasz Duszynski <tdu at semihalf.com>; stable at dpdk.org
> Subject: [dpdk-stable] [PATCH v2] crypto: use snprintf return value correctly
> 
> snprintf return value is the length of was encoded into destination array
> excluding '\0'. Thus return value equal to the length of the destination array
> or more means truncation.
> 
> This commit fixes improper use of the return value.
> 
> Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto
> operations")
> Fixes: 924e84f87306 ("aesni_mb: add driver for multi buffer based crypto")
> Fixes: 0f548b50a160 ("crypto/aesni_mb: process crypto op on dequeue")
> Fixes: 169ca3db550c ("crypto/armv8: add PMD optimized for ARMv8
> processors")
> Fixes: 2773c86d061a ("crypto/kasumi: add driver for KASUMI library")
> Fixes: 94b0ad8e0aa5 ("null_crypto: add driver for null crypto operations")
> Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
> Fixes: 3aafc423cf4d ("snow3g: add driver for SNOW 3G library")
> Fixes: cf7685d68f00 ("crypto/zuc: add driver for ZUC library")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tomasz Duszynski <tdu at semihalf.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo


More information about the dev mailing list