[dpdk-dev] [dpdk-dev v3] app: fix buffer overrun

Zhang, Roy Fan roy.fan.zhang at intel.com
Mon Oct 11 12:45:06 CEST 2021



> -----Original Message-----
> From: Zegan, PrzemyslawX <przemyslawx.zegan at intel.com>
> Sent: Monday, October 11, 2021 9:05 AM
> To: dev at dpdk.org
> Cc: gakhil at marvell.com; Zhang, Roy Fan <roy.fan.zhang at intel.com>; Zegan,
> PrzemyslawX <przemyslawx.zegan at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>
> Subject: [dpdk-dev v3] app: fix buffer overrun
> 
> This patch fixes a possible buffer overrun problem in crypto perf test.
> Previously when user configured aad size is over 12 bytes the copy of
> template aad will cause a buffer overrun.
> The problem is fixed by only copy up to 12 bytes of aad template.
> 
> Fixes: 8a5b494a7f99 ("app/test-crypto-perf: add AEAD parameters")
> Cc: pablo.de.lara.guarch at intel.com
> 
> Signed-off-by: Przemyslaw Zegan <przemyslawx.zegan at intel.com>
> ---
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>


More information about the dev mailing list