[ovs-git] Open vSwitch: ofproto-dpif: Avoid bad pointer dereference in execute_odp_actions(). (master)

dev at openvswitch.org dev at openvswitch.org
Thu Oct 13 19:57:00 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  b6bff4e9abaf2d9a53136854a733b7c4c5d4384e (commit)
      from  077257b83c68a36ea86f2d21c8395f60df710c21 (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 b6bff4e9abaf2d9a53136854a733b7c4c5d4384e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b6bff4e9abaf2d9a53136854a733b7c4c5d4384e
Author: Ben Pfaff <blp at nicira.com>
ofproto-dpif: Avoid bad pointer dereference in execute_odp_actions().
execute_odp_actions() can be passed a zero-length set of actions, in which
case it may not dereference its 'odp_actions' parameter at all, but in fact
it did do so.  In at least one corner case, odp_actions can be NULL, so
that this caused a segfault.

Introduced in commit 98403001ec "datapath: Move Netlink PID for userspace
actions from flows to actions."

Reported-by: Pravin Shelar <pshelar at nicira.com>


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

Open vSwitch

More information about the git mailing list