python-opcua icon indicating copy to clipboard operation
python-opcua copied to clipboard

Fix crash if server does not provide DiscoveryUrls

Open CuriousCrook opened this issue 4 years ago • 0 comments

The OPC UA specification does not forbid that a server does not offer DiscoveryUrls. This can lead to a crash when calling the function application_to_strings().

Check DiscoveryUrls for None or empty before iterating to avoid the crash described in #1127.

CuriousCrook avatar Sep 27 '21 08:09 CuriousCrook