commit | 32be08b1bb57867a097f4b2e67a37d56d8f09d1b | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Oct 17 10:45:03 2011 -0700 |
committer | Nick Kralevich <nnk@google.com> | Mon Oct 17 10:47:04 2011 -0700 |
tree | ea89fc37ccdff2c800f754b5ff2b040239831118 | |
parent | fa7c09af8d094dd260dbf0c3dd02f65168d2709a [diff] |
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