mbox series

[ovs-dev,V2,0/8] Fix warnings and enable Werror

Message ID 20221116104727.915151-1-elibr@nvidia.com
Headers show
Series Fix warnings and enable Werror | expand

Message

Eli Britstein Nov. 16, 2022, 10:47 a.m. UTC
Fixing various warnings and enable Werror for debian/rhel builds.

Eli Britstein (8):
  dp-packet: Fix dp-packet may be used initialized
  ofp-port: Fix 'strnlen' specified bound may exceed source size
  ovs-ofctl: Fix 'usable_protocols' may be used uninitialized
  dpctl: Fix zone/limit may be used uninitialized
  ovsdb: Fix 'table' may be used uninitialized
  netlink: Fix writing bytes into a region of size 0 overflows the
    destination
  ofproto: Fix 'reply.type' may be used uninitialized
  debian, rhel: Enable Werror option in spec files

 debian/rules             |  4 ++--
 lib/dp-packet.c          |  1 -
 lib/dp-packet.h          |  7 ++++---
 lib/dpctl.c              |  5 +++--
 lib/netlink.c            | 16 ++++++++++------
 lib/ofp-port.c           |  3 ++-
 ofproto/ofproto.c        |  1 +
 ovsdb/ovsdb.c            |  2 +-
 rhel/openvswitch.spec.in |  2 +-
 utilities/ovs-ofctl.c    |  2 +-
 10 files changed, 25 insertions(+), 18 deletions(-)