mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 16:17:30 +00:00
Bug: Possible null pointer dereference in
com.bwssystems.HABridge.hue.HueMulator.callUrl(String, DeviceDescriptor, String, String, String, String, boolean, Integer, Integer, ColorData)
This commit is contained in:
@@ -1472,8 +1472,9 @@ public class HueMulator {
|
|||||||
log.warn("Call Items type is null <<<" + callItems[i] + ">>>");
|
log.warn("Call Items type is null <<<" + callItems[i] + ">>>");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(callItems.length == 0)
|
if ((callItems == null) || (callItems.length == 0)) {
|
||||||
log.warn("No call items were available: <<<" + url + ">>>");
|
log.warn("No call items were available: <<<" + url + ">>>");
|
||||||
|
}
|
||||||
|
|
||||||
return responseString;
|
return responseString;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user