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 | e1a5f6c7cb95ed0e5c66a6302d1be0612f604217 (patch) | |
| tree | 1c576d5639a315cd13c5e64b5dd9cfe1e8554faa /libutils/Unicode.cpp | |
| parent | 58b6746adf981f90006f80fac3a905edd8271525 (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/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
