[ovs-git] Open vSwitch: ovs-ofctl: Fix use-after-free error. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jul 16 21:08:35 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, master has been updated
       via  296ed880132c5d3f20d84b1ffea9959d8d6be76b (commit)
      from  5d03d2a76510db1d22779154904bc23d12b297e7 (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 296ed880132c5d3f20d84b1ffea9959d8d6be76b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=296ed880132c5d3f20d84b1ffea9959d8d6be76b
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Fix use-after-free error.
		
Commit 4ce9c31573 (ovs-ofctl: Factor code out of read_flows_from_switch().)
introduced a use-after-free error, fixed by this change.

Also adds a unit test for "ovs-ofctl diff-flows" that would have found the
problem.  (The bug report cited "diff-flows" but this bug was present in
dump-flows as well because they share common code.)

Bug #12461.
Reported-by: James Schmidt <jschmidt at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 tests/ovs-ofctl.at    |   32 ++++++++++++++++++++++++++++++++
 utilities/ovs-ofctl.c |    1 +
 2 files changed, 33 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list