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

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


  Branch: refs/heads/branch-2.15
  Home:   https://github.com/openvswitch/ovs
  Commit: f31070e27e82cf22eac99a8f42bb48f61cc13a69
      https://github.com/openvswitch/ovs/commit/f31070e27e82cf22eac99a8f42bb48f61cc13a69
  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: 559426d2b0f6b0ed906889da26b4779385fd1a92
      https://github.com/openvswitch/ovs/commit/559426d2b0f6b0ed906889da26b4779385fd1a92
  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/8995d5311250...559426d2b0f6


More information about the git mailing list