Closed kz0817 closed 7 years ago
syncItem() assumes there is at least one elements in an input list. Current implementation may cause crash if the list is empty. This patch avoids the crash by checking the number of elements.
Memo: getTargetHostId() is the root cause of the crash.
syncItem() assumes there is at least one elements in an input list. Current implementation may cause crash if the list is empty. This patch avoids the crash by checking the number of elements.