[ovs-git] Open vSwitch: netdev-vport: Fix segfault on bad vport configuration. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Nov 19 21:22:35 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  44471ad36d13da6563a2244dcac863ac5e9e829b (commit)
      from  fbd8715e4b6f7f077a8cef2d0225f9c1a698c104 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 44471ad36d13da6563a2244dcac863ac5e9e829b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=44471ad36d13da6563a2244dcac863ac5e9e829b
Author: Ben Pfaff <blp at nicira.com>
		
netdev-vport: Fix segfault on bad vport configuration.
		
When a vport parse error occurs, the vport_class's parse_config function
doesn't necessarily store a valid pointer into the vport_info's 'config'
member, so netdev_vport_create() needs to supply a null pointer here to
avoiding passing a wild pointer to free().


-----------------------------------------------------------------------

Summary of changes:
 lib/netdev-vport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list