Greetings!
In set_ovsdb_addr, there may be an exception on line# 588, or else the
comparison against None on line# 593 is unnecessary [0].
rest_qos.py:586: def set_ovsdb_addr(self, dpid, ovsdb_addr):
rest_qos.py:587: # easy check if the address format valid
rest_qos.py:588: _proto, _host, _port = ovsdb_addr.split(':')
rest_qos.py:589:
rest_qos.py:590: old_address = self.ovsdb_addr
rest_qos.py:591: if old_address == ovsdb_addr:
rest_qos.py:592: return
rest_qos.py:593: if ovsdb_addr is None:
[0] CWE-476: NULL Pointer Dereference
Signed-off-by: Bryon Gloden, CISSPĀ® <[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel