[ovs-dev] [PATCH 2/2] ovs-vsctl: Fix a segfault.

Ben Pfaff blp at nicira.com
Fri Apr 12 17:03:14 UTC 2013


On Wed, Apr 10, 2013 at 12:00:53PM -0700, Gurucharan Shetty wrote:
> The following two commands results in a ovs-vsctl segfault.
> ovs-vsctl -vfatal_signal:off --timeout=0 wait-until \
> Open_vswitch . external_ids:blah="1"
> /etc/init.d/openvswitch-switch restart
> 
> This patch fixes the segfault by properly setting the global
> varibale, the_idl_txn to NULL when the underlying memory is
> freed.
> 
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

Good catch.  This looks good to me.

If this needs backporting, please do so.

Thanks,

Ben.



More information about the dev mailing list