The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane
176
stars
133
forks
source link
validation: cls: fix local allocation of large array #2071
Closed
satheeshpaul closed 3 months ago
Allocating a large array of odp_cls_cos_param_t on stack causes overflows. Fixing it by dynamically allocating this array.
Signed-off-by: Kiran Kumar K kirankumark@marvell.com Signed-off-by: Satheesh Paul psatheesh@marvell.com Reviewed-by: Matias Elo matias.elo@nokia.com