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