[ovs-git] [openvswitch/ovs] b5cc05: ovsdb-idl: Adjust indexes during transactions.

GitHub noreply at github.com
Thu Aug 16 17:48:46 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: b5cc053c09981d91451b2bcb6fbb177501feefe1
      https://github.com/openvswitch/ovs/commit/b5cc053c09981d91451b2bcb6fbb177501feefe1
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M lib/ovsdb-idl.c

  Log Message:
  -----------
  ovsdb-idl: Adjust indexes during transactions.

When transactions modified tables with indexes, the indexes were not
properly updated to reflect the changes.  For deleted rows, in particular,
this could cause use-after-free errors.

This commit fixes the problem.

Reported-by: Han Zhou <zhouhan at gmail.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2018-August/047185.html
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list