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

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

  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: ff7f6a0ac1448e7ba4d840f203dbe49be2427063
  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