[dpdk-stable] [PATCH] test/compress: fix buffer overflow bug

Akhil Goyal gakhil at marvell.com
Fri Sep 24 19:54:20 CEST 2021


> > Fixes stack buffer overflow bug in compressdev autotest, which
> > was caused by the use of buf_idx in the debug logs. Originally, buf_idx
> > was treated as an array instead of the reference of an integar.
> > This was fixed by replacing the use of buf_idx[priv_data->orig_idx] with
> > the variable i.
> >
> > Fixes: 466a2c4bb5f4 ("test/compress: improve debug logs")
> > Fixes: 6bbc5a923625 ("test/compress: refactor unit tests")
> >
> > Cc: fiona.trahe at intel.com
> > Cc: arturx.trybula at intel.com
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Rebecca Troy <rebecca.troy at intel.com>
> > ---
> 
> Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
Applied to dpdk-next-crypto




More information about the stable mailing list