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 <[email protected]> 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(-) -- 2.39.3 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
