]> git.proxmox.com Git - ovs.git/commit
ofproto-dpif-upcall: fix for segmentation fault
authorAshish Varma <ashishvarma.ovs@gmail.com>
Mon, 5 Mar 2018 23:04:01 +0000 (15:04 -0800)
committerBen Pfaff <blp@ovn.org>
Tue, 6 Mar 2018 01:06:08 +0000 (17:06 -0800)
commit6c94cd5ea386df0fde792a897685d0a6246e3f0b
treea6ce3fa5628a4879cb47e6a44b1c1ae88595d48a
parent5f0ad23e5cbc32ad9b29fecb098b8ee09c89dd36
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@ovn.org>
Fixes: d39ec23de384 ("ofproto-dpif: Don't slow-path controller actions.")
Signed-off-by: Ashish Varma <ashishvarma.ovs@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-upcall.c