M7350v7_en_gpl

This commit is contained in:
T
2024-09-09 08:59:52 +00:00
parent f75098198c
commit 46ba6f09ec
1372 changed files with 1231198 additions and 1184 deletions

5
system/core/liblog/logprint.c Normal file → Executable file
View File

@ -359,6 +359,11 @@ int android_log_processLogBuffer(struct logger_entry *buf,
entry->tid = buf->tid;
entry->tag = buf->msg + 1;
tag_len = strlen(entry->tag);
if(buf->len < (tag_len + 3))
{
return -1;
}
entry->messageLen = buf->len - tag_len - 3;
entry->message = entry->tag + tag_len + 1;