summaryrefslogtreecommitdiff
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-08-05 08:16:37 -0700
committerMark Salyzyn <salyzyn@google.com>2016-08-08 09:58:28 -0700
commita146a779e2154c51c87b140e06c456d010af1197 (patch)
tree1c576d5639a315cd13c5e64b5dd9cfe1e8554faa /libutils/RefBase.cpp
parent9cd828b8589a64e79cbd6aa7dc324fcdba75dd73 (diff)
logd: klogd crash
dmesg parser could wrap taglen limit resulting in out of bound accesses. Can lead to crash or data corruption. Fixed an issue with two-word tag parsing. Switched to case insensitive tag content matching. Added a few extra limit checks that could also wrap, simplified the parsing, then added means to stop using hard coded constants. Bug: 30688716 Bug: 30050636 Bug: 30614675 Bug: 25620123 Change-Id: Iae4f664f63ef7b842d82eaa1638b6d7a0d28fd18
Diffstat (limited to 'libutils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions