[ovs-git] Open vSwitch: bridge: Fix null pointer dereference. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jul 1 17:18:22 UTC 2011


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  316dec68688aeccc1bbb90e555d9c0ca259d9fc7 (commit)
      from  feb83d8aae83a549e660380820df40ee2490b1d9 (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 316dec68688aeccc1bbb90e555d9c0ca259d9fc7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=316dec68688aeccc1bbb90e555d9c0ca259d9fc7
Author: Ben Pfaff <blp at nicira.com>
		
bridge: Fix null pointer dereference.
		
If the netdev_open() fails then iface->netdev will be NULL and
iface_refresh_stats() will cause a null pointer dereference in
netdev_get_stats().

Fixes a problem introduced by commit 1101a0b47 "bridge: Populate interface
status/statistics as soon as a port is added."

Reported-by: Aaron Rosen <arosen at clemson.edu>


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

Summary of changes:
 vswitchd/bridge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list