diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-08-05 08:16:37 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-08-08 09:58:28 -0700 |
commit | a146a779e2154c51c87b140e06c456d010af1197 (patch) | |
tree | 1c576d5639a315cd13c5e64b5dd9cfe1e8554faa /libutils/RefBase.cpp | |
parent | 9cd828b8589a64e79cbd6aa7dc324fcdba75dd73 (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