Fixes segmentation faults on responses from other devices supporting ws discovery.
When accessing a device, the scan evaluates all responses, and then fails to parse the XAddrs of devices which are not cameras. Skip these devices, like when scanning.
The possible segmentation fault in extractHost() should be fixed separately.
Fixes segmentation faults on responses from other devices supporting ws discovery.
When accessing a device, the scan evaluates all responses, and then fails to parse the XAddrs of devices which are not cameras. Skip these devices, like when scanning.
The possible segmentation fault in
extractHost()
should be fixed separately.Fixes https://github.com/sr99622/libonvif/issues/106