Re: [PATCH v2] app/dma-perf: fix lcores array out of bounds access

2023-11-14 Thread Thomas Monjalon
26/10/2023 11:53, Mingjin Ye: > The default size of the lcores array in the lcore dma map > is MAX_WORKER_NB. However, when parsing configuration > parameters, MAX_LCORE_NB is used as a constraint. > Since MAX_LCORE_NB is greater than MAX_WORKER_NB, this > causes array access to go out of bounds wh

RE: [EXT] [PATCH v2] app/dma-perf: fix lcores array out of bounds access

2023-10-27 Thread Gowrishankar Muthukrishnan
Looks good to me. Acked-by: Gowrishankar Muthukrishnan

[PATCH v2] app/dma-perf: fix lcores array out of bounds access

2023-10-26 Thread Mingjin Ye
The default size of the lcores array in the lcore dma map is MAX_WORKER_NB. However, when parsing configuration parameters, MAX_LCORE_NB is used as a constraint. Since MAX_LCORE_NB is greater than MAX_WORKER_NB, this causes array access to go out of bounds when the value of the `lcore_dma/lcore` co