mbox series

[v4,0/5] fixes for problems found by codeql analyzer

Message ID 20230710170800.12478-1-stephen@networkplumber.org (mailing list archive)
Headers
Series fixes for problems found by codeql analyzer |

Message

Stephen Hemminger July 10, 2023, 5:07 p.m. UTC
CodeQL is an analyzer (like Coverity) for static analysis
https://codeql.github.com/

Followup from earlier set from Sinan.
Rebased to main and consolidated for easier review

Sinan Kaya (4):
  ethdev: check return result of rte_eth_dev_info_get
  memzone: check result of rte_fbarray_get and malloc_elem_from_data
  malloc: codeql fixes
  bus/vdev: check result of rte_vdev_device_name

Stephen Hemminger (1):
  mailmap: add Sinan

 .mailmap                             |  1 +
 lib/eal/common/eal_common_memalloc.c |  5 ++++-
 lib/eal/common/eal_common_memzone.c  | 10 +++++++++-
 lib/eal/common/malloc_elem.c         | 14 +++++++++++---
 lib/eal/common/malloc_heap.c         |  9 ++++++++-
 lib/ethdev/ethdev_vdev.h             |  2 ++
 lib/ethdev/rte_class_eth.c           |  4 +++-
 7 files changed, 38 insertions(+), 7 deletions(-)
  

Comments

fengchengwen July 11, 2023, 1:37 a.m. UTC | #1
On 2023/7/11 1:07, Stephen Hemminger wrote:
> CodeQL is an analyzer (like Coverity) for static analysis
> https://codeql.github.com/
> 
> Followup from earlier set from Sinan.
> Rebased to main and consolidated for easier review
> 
> Sinan Kaya (4):
>   ethdev: check return result of rte_eth_dev_info_get
>   memzone: check result of rte_fbarray_get and malloc_elem_from_data
>   malloc: codeql fixes
>   bus/vdev: check result of rte_vdev_device_name

Please add Cc.
Series-acked-by: Chengwen Feng <fengchengwen@huawei.com>

> 
> Stephen Hemminger (1):
>   mailmap: add Sinan
> 
>  .mailmap                             |  1 +
>  lib/eal/common/eal_common_memalloc.c |  5 ++++-
>  lib/eal/common/eal_common_memzone.c  | 10 +++++++++-
>  lib/eal/common/malloc_elem.c         | 14 +++++++++++---
>  lib/eal/common/malloc_heap.c         |  9 ++++++++-
>  lib/ethdev/ethdev_vdev.h             |  2 ++
>  lib/ethdev/rte_class_eth.c           |  4 +++-
>  7 files changed, 38 insertions(+), 7 deletions(-)
>