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

2025-03-02 Thread Akhil Goyal
> > Subject: [PATCH] common/qat: fix incorrect size in the parser > > > > 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 t

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

2025-02-19 Thread Dooley, Brian
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday 7 February 2025 09:59 > To: dev@dpdk.org > Cc: gak...@marvell.com; Dooley, Brian ; Kusztal, > ArkadiuszX ; sta...@dpdk.org > Subject: [PATCH] common/qat: fix incorrect size in the parser > > Th

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

2025-02-07 Thread Arkadiusz Kusztal
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: sta...@dpdk.org Signed-off-by: Arkadiusz