[dpdk-dev] [Bug 593] dpaa2 PMD APIs is missing input validation

bugzilla at dpdk.org bugzilla at dpdk.org
Fri Dec 4 17:17:31 CET 2020


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: dev at dpdk.org
          Reporter: ferruh.yigit at intel.com
  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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list