リビジョン | 4818c04ca31a6244cc2ab26724f45958a245b0c9 (tree) |
---|---|
日時 | 2018-03-21 03:08:37 |
作者 | bohu <bohu@goog...> |
コミッター | bohu |
reference-ril: fix asan error
BUG: 74981776
Change-Id: I9e321fd6b34fe2a37a5e22668f7070f6da7d9f46
@@ -3533,7 +3533,7 @@ static void onUnsolicited (const char *s, const char *sms_pdu) | ||
3533 | 3533 | } else { |
3534 | 3534 | RIL_onUnsolicitedResponse ( |
3535 | 3535 | RIL_UNSOL_NITZ_TIME_RECEIVED, |
3536 | - response, strlen(response)); | |
3536 | + response, strlen(response) + 1); | |
3537 | 3537 | } |
3538 | 3538 | free(line); |
3539 | 3539 | } else if (strStartsWith(s,"+CRING:") |