liblog: ensure that the message length is consistent

When parsing log entries which may have embedded \0s, it's
possible for entry->messageLen to not be the actual
length of the string in entry->message.  Detect this condition.

Bug: 5417417
Change-Id: I712cac7696af7831e24765b5a1b345d6ff5fb407
1 file changed
tree: ea89fc37ccdff2c800f754b5ff2b040239831118
  1. liblog/
  2. logcat/
  3. logwrapper/