commit | e1a5f6c7cb95ed0e5c66a6302d1be0612f604217 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Aug 05 08:16:37 2016 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Aug 08 09:58:28 2016 -0700 |
tree | 1c576d5639a315cd13c5e64b5dd9cfe1e8554faa | |
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