summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2017-03-27 13:12:41 -0700
committerMark Salyzyn <salyzyn@google.com>2017-03-27 21:26:13 +0000
commit1f46716f1c3867580d131756a97269eadda13e0f (patch)
tree84f7578cd2b478282f9960135e1da8af8322a971 /libunwindstack/tests/MemoryFileTest.cpp
parent0484b3b5757594a43c6b646824b44643d2a007de (diff)
logd: last iterator initialized incorrectly
last should start with mLogElements.end() and be updated as we iterate to find a matching time entry in the list. Since it is impossible(sic) for a newer start time to be supplied than the list, the incorrect iterator initialization should be inconsequential, but if it ever happens this change will behave correctly and dump nothing. Test: gTest liblog-unit-tests, logd-unit-tests and logcat-unit-tests Bug: 36536248 Bug: 36608728 Change-Id: I96998c4b713258f29d5db2e24a83ae562ddf3420
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions