[ovs-git] [openvswitch/ovs] cc0e63: ovsdb: Fix reference to table's row on condition_a...

GitHub noreply at github.com
Tue Aug 30 20:39:10 UTC 2016


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: cc0e634aa4667a55a65630b166adb4540cbbe86e
      https://github.com/openvswitch/ovs/commit/cc0e634aa4667a55a65630b166adb4540cbbe86e
  Author: Liran Schour <lirans at il.ibm.com>
  Date:   2016-08-30 (Tue, 30 Aug 2016)

  Changed paths:
    M ovsdb/ovsdb-idlc.in
    M python/ovs/db/types.py

  Log Message:
  -----------
  ovsdb: Fix reference to table's row on condition_add|remove_clause

Use struct uuid * on [add|remove]_clause on columns which are references to
tables. That prevents use-after-free errors.

Signed-off-by: Liran Schour <lirans at il.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 8d09d1b2311662b5f36403aa948751f5d8807cd7
      https://github.com/openvswitch/ovs/commit/8d09d1b2311662b5f36403aa948751f5d8807cd7
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-08-30 (Tue, 30 Aug 2016)

  Changed paths:
    M ovsdb/ovsdb-idlc.in

  Log Message:
  -----------
  ovsdb-idlc: Fix memory leaks in add and remove clause functions.

Found by inspection.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Amitabha Biswas <abiswas at us.ibm.com>


Compare: https://github.com/openvswitch/ovs/compare/903ba9406579...8d09d1b23116


More information about the git mailing list