commit | 5ebd8aaabc7cec3417a21da60576e594bded63ec | [log] [tgz] |
---|---|---|
author | Cody Schuffelen <schuffelen@google.com> | Tue Nov 19 15:16:41 2019 -0800 |
committer | A. Cody Schuffelen <schuffelen@google.com> | Tue Nov 19 15:21:30 2019 -0800 |
tree | a6242efa3e1d1842ebf17221539c6e2ec2bc806b | |
parent | 629f97c9fb4fab5cd4e4125c3fc7f98c401ab8b3 [diff] |
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