[ovs-git] [openvswitch/ovs] 715fed: replication: Avoid theoretical use-after-free erro...

GitHub noreply at github.com
Sat Oct 7 04:02:26 UTC 2017


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 715fed65ce87506bb5fa8b0761381a99d2583ffc
      https://github.com/openvswitch/ovs/commit/715fed65ce87506bb5fa8b0761381a99d2583ffc
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M ovsdb/replication.c

  Log Message:
  -----------
  replication: Avoid theoretical use-after-free error in reset_database().

Code that calls ovsdb_txn_row_delete() should avoid referencing the
deleted row again, because it might be freed.  In practice this shouldn't
really happen in this case because of the particular circumstances, but it
costs little to be careful.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list