[ovs-git] Open vSwitch: ofp-util: Avoid use-after-free in ofputil_encode_flow_mod(). (branch-1.5)

dev at openvswitch.org dev at openvswitch.org
Tue Jun 26 00:04:49 UTC 2012


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.5 has been updated
       via  499e4fa51852808412f99caec2e2cf69da9ee7e7 (commit)
      from  ff22eea6cd1de6c14ae9c60332b733db2ab572c0 (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 499e4fa51852808412f99caec2e2cf69da9ee7e7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=499e4fa51852808412f99caec2e2cf69da9ee7e7
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Avoid use-after-free in ofputil_encode_flow_mod().
		
nx_put_match() can reallocate the ofpbuf's data so we need to reload the
pointer.

Found by inspection.

Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/ofp-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list