> > 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 var
> -Original Message-
> From: Troy, Rebecca
> Sent: Friday, September 17, 2021 4:12 PM
> To: dev@dpdk.org
> Cc: Zhang, Roy Fan ; Troy, Rebecca
> ; Trahe, Fiona ; Trybula,
> ArturX ; sta...@dpdk.org; Ashish Gupta
>
> Subject: [PATCH] test/compress: fix buffer overflow bug
>
> Fixes stack b
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: 466
3 matches
Mail list logo