Re: [dpdk-dev] [PATCH 1/4] regex/mlx5: fix size of setup constants

2021-06-07 Thread Matan Azrad
From: Michael Baum > Sent: Tuesday, June 1, 2021 10:11 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > sta...@dpdk.org > Subject: [PATCH 1/4] regex/mlx5: fix size of setup constants > > The constant representing the size of the metadata is defined as a unsigne

[dpdk-dev] [PATCH 1/4] regex/mlx5: fix size of setup constants

2021-06-01 Thread Michael Baum
The constant representing the size of the metadata is defined as a unsigned int variable with 32-bit. Similarly the constant representing the maximal output is also defined as a unsigned int variable with 32-bit. There is potentially overflowing expression when those constants are evaluated using