summaryrefslogtreecommitdiff
path: root/common/libs/threads/cuttlefish_thread_test.cpp
diff options
context:
space:
mode:
authorCody Schuffelen <schuffelen@google.com>2019-11-19 15:16:41 -0800
committerA. Cody Schuffelen <schuffelen@google.com>2019-11-19 15:21:30 -0800
commit5ebd8aaabc7cec3417a21da60576e594bded63ec (patch)
treea6242efa3e1d1842ebf17221539c6e2ec2bc806b /common/libs/threads/cuttlefish_thread_test.cpp
parent629f97c9fb4fab5cd4e4125c3fc7f98c401ab8b3 (diff)
downloadcuttlefish_common-5ebd8aaabc7cec3417a21da60576e594bded63ec.tar.gz
Fix incorrect match when looking for files.
This code effectively implemented std::string.endswith, but had a bug where it would match when the needle string was exactly 1 character longer than the haystack string. Bug: 144111347 Test: Run assemble_cvd Change-Id: I0183a128674990f483472d2539a9ce81ca61d0d5
Diffstat (limited to 'common/libs/threads/cuttlefish_thread_test.cpp')
0 files changed, 0 insertions, 0 deletions