[ovs-git] Open vSwitch: ovsdb: Fix double-free in ovsdb_jsonrpc_session_close(). (branch-1.5)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 24 20:37:14 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.5 has been updated
       via  508f77ba57c4f02e5af5b2ed6e8d60b374befd39 (commit)
      from  a810294b48068d6a18af59995d663523a5f705d1 (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 508f77ba57c4f02e5af5b2ed6e8d60b374befd39
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=508f77ba57c4f02e5af5b2ed6e8d60b374befd39
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Fix double-free in ovsdb_jsonrpc_session_close().
		
ovsdb_session_destroy() was called twice but it should only be called once.

This double-free is unlikely to cause problems in practice because it only
triggers if there were ever more than two outstanding requests in the
session at a time (because the only data being freed is an hmap, which
does not allocate any heap memory unless the hmap has more than two
elements).

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 ovsdb/jsonrpc-server.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list