summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryLocalTest.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-03-21 09:45:34 -0700
committerMark Salyzyn <salyzyn@google.com>2016-03-24 12:21:53 -0700
commit476b771bdaebf7aa72d41730557fce82cee7faf3 (patch)
treef377fd0597bee3456628e7802bebc3e449fdf0a0 /libunwindstack/tests/MemoryLocalTest.cpp
parent6eb4eab106bd5161373adb61bb81e926a8575134 (diff)
liblog: logprint: deal with malformed log messages
(cherry picked from commit 083c53462aefaee142ddfb40ba0ed8d40e1ecda4) Try to print as much content as possible should the application logging only submit content as part of a tag with an empty message. We search for the first non-printable ascii character in the tag, in order to split it up for printing. Applications (such as com.yahoo.mobile.client.android.weather) that malform their log messages will no longer be punished by truncating the content, but this should never be considered advocacy for their bad behavior. Bug: 27585978 Change-Id: Idb0680e8d6a6ad2bef5150661905acccb5b70afb
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions