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

2021-09-24 Thread Akhil Goyal
> > 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

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

2021-09-20 Thread Zhang, Roy Fan
> -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

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

2021-09-17 Thread Rebecca Troy
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