Clang's static analyzer has identified several instances of uninitialized
variable usage and null pointer dereferencing that while not likely, is
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 <m...@redhat.com>


Mike Pattrick (5):
  netdev-offload: Fix Clang's static analyzer 'null pointer dereference'
    warnings.
  netdev-native-tnl: Fix Clang's static analyzer 'uninitialized value'
    warnings.
  dpctl: Fix Clang's static analyzer 'garbage value' warnings.
  socket: Fix Clang's static analyzer 'garbage value' warnings.
  netdev-linux: Fix Clang's static analyzer uninitialized values
    warnings.

 lib/dpctl.c             | 5 ++---
 lib/netdev-linux.c      | 7 ++++++-
 lib/netdev-native-tnl.c | 4 +++-
 lib/netdev-offload.c    | 9 ++++++++-
 lib/socket-util.c       | 2 +-
 5 files changed, 20 insertions(+), 7 deletions(-)

-- 
2.39.3

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to