Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-controller: fix use-after-free in physical_run()
The hmap "tunnels" is persistent across IDL loop iterations, but stores pointers to strings in the local db replica which can be freed as database updates are processed. Fix by storing a copy of the string in the hmap instead of a pointer to the string in the replica. Found via valgrind. Fixes: 40128e3 ("physical: Refactor port binding processing.") Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
- Loading branch information