[EXTERNAL] [PATCH v2] common/qat: fix incorrect size in the parser

Akhil Goyal gakhil at marvell.com
Mon Mar 17 08:54:27 CET 2025


> The function `strlen` returns the size of the string without a terminating
> null-character, therefore a request to allocate memory space for a parsed
> argument is too small by 1.
> 
> Fixes: 99ab2806687b ("common/qat: isolate parser arguments configuration")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Arkadiusz Kusztal <arkadiuszx.kusztal at intel.com>
> ---
> v2:
> - changed the placement of `len` incrementation
Applied to dpdk-next-crypto
Thanks.


More information about the dev mailing list