[ovs-git] [openvswitch/ovs] ecf6df: ovsdb-idl: Adjust indexes during transactions.
noreply at github.com
Thu Aug 16 17:38:26 UTC 2018
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-08-16 (Thu, 16 Aug 2018)
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 and adds some simple test cases provided by
Han Zhou that, without the fix, cause a crash.
Reported-by: Han Zhou <zhouhan at gmail.com>
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