On Tue, Dec 14, 2021 at 4:30 AM Zhihong Wang <wangzhihong....@bytedance.com> wrote: > > Parameters count and esize are both unsigned int, and their product can > legally exceed unsigned int and lead to runtime access violation. > > Fixes: cc4b218790f6 ("ring: support configurable element size") > Cc: sta...@dpdk.org > > Signed-off-by: Zhihong Wang <wangzhihong....@bytedance.com>
Reviewed-by: Liang Ma <lian...@liangbit.com> Reviewed-by: Morten Brørup <m...@smartsharesystems.com> Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com> Applied, thanks. -- David Marchand