Bug 591

Summary: atlantic PMD APIs is missing input validation
Product: DPDK Reporter: Ferruh YIGIT (ferruh.yigit)
Component: ethdevAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Ferruh YIGIT 2020-12-04 17:10:04 CET
* rte_pmd_atl_macsec_config_txsc(uint16_t port, uint8_t *mac)
  - 'mac' is used without NULL check

* rte_pmd_atl_macsec_config_rxsc(uint16_t port, uint8_t *mac, uint16_t pi) 
  - 'mac' is used without NULL check

* rte_pmd_atl_macsec_select_txsa(uint16_t port, uint8_t idx, uint8_t an,
                                 uint32_t pn, uint8_t *key)
  - 'key' is used without NULL check

* rte_pmd_atl_macsec_select_rxsa(uint16_t port, uint8_t idx, uint8_t an,
                                 uint32_t pn, uint8_t *key)
  - 'key' is used without NULL check