Skip to content

Commit

Permalink
修复异常数组越界情况
Browse files Browse the repository at this point in the history
Change-Id: Ia5c96e40f4d03d6257bac34d4bfc199d35a792ac
  • Loading branch information
SundoggyNew committed Oct 31, 2023
1 parent 3160046 commit 0de1761
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class BleConfigService private constructor() {
connetionListener?.onBleSendWifiInfoResult(convertData2SendWifiResult(it.value))
}
0xE2.toByte() -> {
L.d(TAG, "0xE2 ${BleWifiConnectInfo.byteArr2BleWifiConnectInfo(it.value)}")
L.d(TAG, "0xE2")
tempByteArray = appendNewBlock(it.value, tempByteArray)
if (isMtuEndBlock(it.value) && tempByteArray != null) {
var totalByteArr = ByteArray(tempByteArray!!.size+3)
Expand Down

0 comments on commit 0de1761

Please sign in to comment.