[ovs-git] Open vSwitch: odp-util: Avoid null dereference in parse_8021q_onward(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 31 19:38:17 UTC 2013


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  5054d6fd32d5dd3354c1aed1bfa9fb2b7979324e (commit)
      from  758c456df570a1af1d9e913d50a3478785663e66 (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 5054d6fd32d5dd3354c1aed1bfa9fb2b7979324e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5054d6fd32d5dd3354c1aed1bfa9fb2b7979324e
Author: Ben Pfaff <blp at nicira.com>
		
odp-util: Avoid null dereference in parse_8021q_onward().
		
For parsing a mask, this code in parse_8021q_onward() always read out
the OVS_KEY_ATTR_VLAN attribute without first checking whether it existed.
The correct behavior, implemented by this commit, appears to be treating
the VLAN as wildcarded and to continue parsing the flow.

Bug #22312.
Reported-by: Krishna Miriyala <miriyalak at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>


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

Summary of changes:
 lib/odp-util.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list