commit | 22712428b825951e8a4b38f0482a7cc397e5cd78 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Mar 13 11:06:38 2018 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue Mar 13 12:16:39 2018 -0700 |
tree | bf0d730e9c633ec781e148f38244361ac14dec89 | |
parent | ff9b1db67c930a3e04ed29714d8b872e92e27b85 [diff] |
logd: identical check access message data out of range While running AddressSanitizer, binary events were fed into logd that were smaller than the binary event string header. Fix is to check the buffer sizes before performing the memcmp operation. Test: compile Bug: 74574189 Change-Id: Ic01ef6fb0725258d9f39bbdca582ed648a1adc5d