* Re: [dpdk-stable] [PATCH v3 1/2] crypto/nitrox: fix invalid CSR register address generation [not found] ` <20200327134239.23358-1-rnagadheeraj@marvell.com> @ 2020-04-05 16:54 ` Akhil Goyal [not found] ` <20200327134239.23358-2-rnagadheeraj@marvell.com> 1 sibling, 0 replies; 2+ messages in thread From: Akhil Goyal @ 2020-04-05 16:54 UTC (permalink / raw) To: Nagadheeraj Rottela; +Cc: dev, thomas, jsrikanth, stable > > If the NPS_PKT ring/port is greater than 8191 the NPS_PKT*() macros will > evaluate to incorrect values due to unintended sign extension from int > to unsigned long. To fix this, add UL suffix to the constants in these > macros. The same problem is with AQMQ_QSZX() macro also. > > Coverity issue: 349899, 349905, 349911, 349921, 349923 > > Fixes: 32e4930d5a3b ("crypto/nitrox: add hardware queue management") > Fixes: 0a8fc2423bff ("crypto/nitrox: introduce Nitrox driver") > > Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com> > --- Cc:stable@dpdk.org Applied to dpdk-next-crypto Thanks. ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <20200327134239.23358-2-rnagadheeraj@marvell.com>]
* Re: [dpdk-stable] [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access [not found] ` <20200327134239.23358-2-rnagadheeraj@marvell.com> @ 2020-04-05 16:55 ` Akhil Goyal 0 siblings, 0 replies; 2+ messages in thread From: Akhil Goyal @ 2020-04-05 16:55 UTC (permalink / raw) To: Nagadheeraj Rottela; +Cc: dev, thomas, jsrikanth, stable > -----Original Message----- > From: Nagadheeraj Rottela <rnagadheeraj@marvell.com> > Sent: Friday, March 27, 2020 7:13 PM > To: Akhil Goyal <akhil.goyal@nxp.com> > Cc: dev@dpdk.org; thomas@monjalon.net; jsrikanth@marvell.com; > Nagadheeraj Rottela <rnagadheeraj@marvell.com> > Subject: [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access > > In nitrox_sym_pmd_create() the name array will overflow if the pci > device name is greater than 57 bytes. To fix this issue subtract pci > device name length from array length while appending substring to the > name. > > Coverity issue: 349926 > > Fixes: 9fdef0cc2385 ("crypto/nitrox: create symmetric cryptodev") > > Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com> > --- Cc:stable@dpdk.org Applied to dpdk-next-crypto Thanks. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-05 16:55 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <VE1PR04MB6639CE605288D79F1122E18AE6CE0@VE1PR04MB6639.eurprd04.prod.outlook.com> [not found] ` <20200327134239.23358-1-rnagadheeraj@marvell.com> 2020-04-05 16:54 ` [dpdk-stable] [PATCH v3 1/2] crypto/nitrox: fix invalid CSR register address generation Akhil Goyal [not found] ` <20200327134239.23358-2-rnagadheeraj@marvell.com> 2020-04-05 16:55 ` [dpdk-stable] [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access Akhil Goyal
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).