diff options
author | bohu <bohu@google.com> | 2018-03-19 15:49:39 -0700 |
---|---|---|
committer | bohu <bohu@google.com> | 2018-03-20 11:08:37 -0700 |
commit | 4818c04ca31a6244cc2ab26724f45958a245b0c9 (patch) | |
tree | 14b3e43036202e6e9aaee4bb722322e0b486a058 | |
parent | 0c6d7438566d42bf07d1fcf7bf3460ce406f0ac2 (diff) | |
download | android_hardware_ril-4818c04ca31a6244cc2ab26724f45958a245b0c9.tar.gz android_hardware_ril-4818c04ca31a6244cc2ab26724f45958a245b0c9.tar.bz2 android_hardware_ril-4818c04ca31a6244cc2ab26724f45958a245b0c9.zip |
reference-ril: fix asan error
BUG: 74981776
Change-Id: I9e321fd6b34fe2a37a5e22668f7070f6da7d9f46
-rw-r--r-- | reference-ril/reference-ril.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reference-ril/reference-ril.c b/reference-ril/reference-ril.c index 81bf8d5..084c4ad 100644 --- a/reference-ril/reference-ril.c +++ b/reference-ril/reference-ril.c @@ -3533,7 +3533,7 @@ static void onUnsolicited (const char *s, const char *sms_pdu) } else { RIL_onUnsolicitedResponse ( RIL_UNSOL_NITZ_TIME_RECEIVED, - response, strlen(response)); + response, strlen(response) + 1); } free(line); } else if (strStartsWith(s,"+CRING:") |