diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2016-08-05 08:16:37 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2016-08-09 07:52:09 -0700 |
| commit | fbbf99256af0c4d9b31187abe601b593ab5c0925 (patch) | |
| tree | 865292cf2f7200282f54c4db0b7c1e475ec0ea15 /base/errors_unix.cpp | |
| parent | 9a882a3ef38c487eaa26dee845bb738997d5023d (diff) | |
logd: klogd crash
(cherry pick from commit a146a779e2154c51c87b140e06c456d010af1197)
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 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
