[ovs-git] Open vSwitch: ofproto-dpif: Fix 'size' argument to fix_sflow_action(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Apr 30 18:26:20 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  a93f1927f21f2a14c4166d3ffc0131b1fb4be1bb (commit)
      from  d5de5b0d7ec2c3bf0eb1243145bd31efbf3078fd (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 a93f1927f21f2a14c4166d3ffc0131b1fb4be1bb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a93f1927f21f2a14c4166d3ffc0131b1fb4be1bb
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Fix 'size' argument to fix_sflow_action().
		
The sflow action only uses 8 bytes of the total 16 for user_action_cookie,
but fix_sflow_action() was checking for the presence of all 16, so if the
sflow action wasn't followed by a few other actions then 'cookie' would
end up NULL and the assertion would segfault.

Bug #16659.
Reported-by: Dhaval Badiani <dbadiani at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 AUTHORS                |    1 +
 ofproto/ofproto-dpif.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list