[ovs-git] [openvswitch/ovs] fbe420: ofproto: Fix potential NULL dereference in ofproto...

Dumitru Ceara noreply at github.com
Thu Jun 3 11:47:41 UTC 2021


  Branch: refs/heads/branch-2.14
  Home:   https://github.com/openvswitch/ovs
  Commit: fbe420527f361e253c38d4ff1cea850f0b5b0cd3
      https://github.com/openvswitch/ovs/commit/fbe420527f361e253c38d4ff1cea850f0b5b0cd3
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M ofproto/ofproto.c

  Log Message:
  -----------
  ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap().

Reproducer:
  ovs-vsctl \
    -- add-br br \
    -- set bridge br datapath-type=foo \
    -- --id=@m create Datapath datapath_version=0 'capabilities={}' \
    -- set Open_vSwitch . datapaths:"foo"=@m

Fixes: 27501802d09f ("ofproto-dpif: Expose datapath capability to ovsdb.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Paolo Valerio <pvalerio at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: d01345ca063965a249fb507f721be9ead9825c50
      https://github.com/openvswitch/ovs/commit/d01345ca063965a249fb507f721be9ead9825c50
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M ofproto/ofproto.c

  Log Message:
  -----------
  ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy().

Spotted during code inspection.

Fixes: 993cae678bca ("ofproto-dpif: Consume CT_Zone, and CT_Timeout_Policy tables")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Paolo Valerio <pvalerio at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/146ff09f0601...d01345ca0639


More information about the git mailing list