[ovs-git] [openvswitch/ovs] dc5b4e: ovs-bugtool: Fix crash when enable --ovs.
William Tu
noreply at github.com
Thu Nov 5 16:10:28 UTC 2020
Branch: refs/heads/branch-2.13
Home: https://github.com/openvswitch/ovs
Commit: dc5b4e8f694d6184368d3c40b7ce7163b7f7432d
https://github.com/openvswitch/ovs/commit/dc5b4e8f694d6184368d3c40b7ce7163b7f7432d
Author: William Tu <u9012063 at gmail.com>
Date: 2020-11-05 (Thu, 05 Nov 2020)
Changed paths:
M utilities/bugtool/ovs-bugtool.in
Log Message:
-----------
ovs-bugtool: Fix crash when enable --ovs.
When enabling '--ovs' or when not using '-y', ovs-bugtool crashes due to
Traceback (most recent call last):
File "/usr/local/sbin/ovs-bugtool", line 1410, in <module>
sys.exit(main())
File "/usr/local/sbin/ovs-bugtool", line 690, in main
for (k, v) in data.items():
RuntimeError: dictionary changed size during iteration
The patch fixes it by making a copy of the key and value.
VMware-BZ: #2663359
Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
Acked-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
More information about the git
mailing list