kytos-ng / sdntrace

Napp that traces OpenFlow paths in the dataplane
https://kytos-ng.github.io/api/sdntrace.html
GNU Lesser General Public License v3.0
0 stars 5 forks source link

Thread RuntimeError iterable changed size vulnerability on controller.switches and tracing.trace_manager._request_queue #28

Closed italovalcy closed 1 year ago

italovalcy commented 1 year ago

controller.switches and tracing.trace_manager._request_queue are being iterated on are vulnerable to thread RuntimeError iterable changed size:

shared/switches.py:39:        for switch in self._switches.values():
tracing/trace_manager.py:69:                    for req_id in self._request_queue:
tracing/trace_manager.py:118:        for request in self._request_queue: