Skip to contentSkip to conversation

dpaa2 PMD APIs is missing input validation

dpdk-dev [email protected] 1 participant 1 message Dec 4, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=593

Bug ID: 593
Summary: dpaa2 PMD APIs is missing input validation
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

1)
struct rte_flow *
rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id,

                              struct rte_flow_item *pattern[],
                              struct rte_flow_action *actions[])

'- 'pattern' & 'actions' & 'pattern[0]' & 'actions[0]', should be checked against NULL before using them

2)
int
rte_pmd_dpaa2_set_custom_hash(uint16_t port_id,
uint16_t offset,
uint8_t size)

- 'port_id' should be checked if it is valid and if it is 'dpaa2' port or not

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.