[ovs-git] [openvswitch/ovs] 6c94cd: ofproto-dpif-upcall: fix for segmentation fault

GitHub noreply at github.com
Tue Mar 6 01:06:13 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 6c94cd5ea386df0fde792a897685d0a6246e3f0b
      https://github.com/openvswitch/ovs/commit/6c94cd5ea386df0fde792a897685d0a6246e3f0b
  Author: Ashish Varma <ashishvarma.ovs at gmail.com>
  Date:   2018-03-05 (Mon, 05 Mar 2018)

  Changed paths:
    M ofproto/ofproto-dpif-upcall.c

  Log Message:
  -----------
  ofproto-dpif-upcall: fix for segmentation fault

Added check for NULL pointer on return from xlate_lookup_ofproto
function. Access to "ofproto" variable when NULL was causing segmentation
fault.

VMware-BZ: #2061914
CC: Justin Pettit <jpettit at ovn.org>
Fixes: d39ec23de384 ("ofproto-dpif: Don't slow-path controller actions.")
Signed-off-by: Ashish Varma <ashishvarma.ovs at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list