mbox series

[ovs-dev,v3,0/6] clang: Fix Clang's static analyzer detections.

Message ID 20240527190846.801499-1-mkp@redhat.com
Headers show
Series clang: Fix Clang's static analyzer detections. | expand

Message

Mike Pattrick May 27, 2024, 7:08 p.m. UTC
Clang's static analyzer has identified several instances of uninitialized
variable usage and null pointer dereferences that - while not likely - are
possible. These mostly included making sure that a variable is properly set
or error code properly returned in every error condition.

Signed-off-by: Mike Pattrick <mkp@redhat.com>

Mike Pattrick (6):
  netdev-offload: Fix null pointer dereference warning on dump creation.
  netdev-native-tnl: Fix use of uninitialized offset on SRv6 header pop.
  dpctl: Fix uninitialized value when deleting flows.
  socket: Fix uninitialized values in inet_parse_ functions.
  netdev-linux: Return an error if device feature names are empty.
  netdev-linux: Initialize link speed in error conditions.

 lib/dpctl.c             | 12 +++++-------
 lib/netdev-linux.c      |  8 +++++++-
 lib/netdev-native-tnl.c |  5 ++++-
 lib/netdev-offload.c    | 10 ++++++++--
 lib/socket-util.c       |  9 +++++++++
 5 files changed, 33 insertions(+), 11 deletions(-)