]> git.droids-corp.org - dpdk.git/commit
net/cnxk: fix out of bounds accesses
authorGowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Sun, 24 Apr 2022 16:23:26 +0000 (21:53 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 5 May 2022 08:10:17 +0000 (10:10 +0200)
commit332cae00ad30cf9fe0c61eaecdb47ab529f8d41f
tree56c74d012f666021d856f2c0de8dae2637d38c24
parent938ba5f9b9fe85d011b170e42291840ab19340e5
net/cnxk: fix out of bounds accesses

Fix out of bounds access in cmd array which was reported in coverity
scan.

Coverity issue: 375245, 375246, 375260, 375263, 375264, 375271
Coverity issue: 375278, 375279, 375273, 375274, 375275, 375276
Coverity issue: 375280, 375281, 375283, 375286
Fixes: c5b97e98837 ("net/cnxk: add cn10k template Tx functions to build")
Fixes: dd8c20eee47 ("net/cnxk: add cn9k template Tx functions to build")
Cc: stable@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/cnxk/cn10k_tx.h
drivers/net/cnxk/cn9k_tx.h