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

dev at openvswitch.org dev at openvswitch.org
Tue Apr 30 18:26:44 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, branch-1.11 has been updated
       via  10e6f3a6082401971833ac065f9c674ae9c18a94 (commit)
      from  7ffd3f6972b41827d7b03e10dcbb0a4c20e4d919 (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 10e6f3a6082401971833ac065f9c674ae9c18a94
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=10e6f3a6082401971833ac065f9c674ae9c18a94
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