fix index out of bounds
This commit is contained in:
parent
044a958340
commit
7233497dc9
|
@ -788,7 +788,7 @@ public class MedtronicCommunicationManager extends RileyLinkCommunicationManager
|
|||
return false;
|
||||
}
|
||||
|
||||
if (responseRaw.length == 1) {
|
||||
if (responseRaw.length < 2) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue