commit | 63f4a84104c228c74cdf132f5cef4f5184ae04bb | [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 | db80bb6c9037ab3d0c737fbd18445e666c1dc7d1 | |
parent | 76feaf37218b7fec02ade30c143884df8299697c [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