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

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


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: dd0f59783e397a6ffa03cc5bfc6f2182b0004f49
      https://github.com/openvswitch/ovs/commit/dd0f59783e397a6ffa03cc5bfc6f2182b0004f49
  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: a4b04276ab5934d087669ff2d191a23931335c87
      https://github.com/openvswitch/ovs/commit/a4b04276ab5934d087669ff2d191a23931335c87
  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/f1951d41fb43...a4b04276ab59


More information about the git mailing list