diff options
author | Cody Schuffelen <schuffelen@google.com> | 2019-11-19 15:16:41 -0800 |
---|---|---|
committer | A. Cody Schuffelen <schuffelen@google.com> | 2019-11-19 15:21:30 -0800 |
commit | 5ebd8aaabc7cec3417a21da60576e594bded63ec (patch) | |
tree | a6242efa3e1d1842ebf17221539c6e2ec2bc806b /guest/hals/camera/EmulatedBaseCamera.h | |
parent | 629f97c9fb4fab5cd4e4125c3fc7f98c401ab8b3 (diff) | |
download | cuttlefish_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 'guest/hals/camera/EmulatedBaseCamera.h')
0 files changed, 0 insertions, 0 deletions