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

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


  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: fc23134227f4977f5e0df06f05d114e711f3e056
      https://github.com/openvswitch/ovs/commit/fc23134227f4977f5e0df06f05d114e711f3e056
  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: fe7bd42d6cad0cb1673019a9db01403461dbb7e7
      https://github.com/openvswitch/ovs/commit/fe7bd42d6cad0cb1673019a9db01403461dbb7e7
  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/8be19f789b06...fe7bd42d6cad


More information about the git mailing list