commit | 41eb40ad5eab74e441c29db8e9e9b668b0906ea4 | [log] [tgz] |
---|---|---|
author | Cody Schuffelen <schuffelen@google.com> | Tue Nov 19 15:16:41 2019 -0800 |
committer | Cody Schuffelen <schuffelen@google.com> | Tue Nov 19 15:19:11 2019 -0800 |
tree | 15d78c8997116cfa3823ddb5edbd01e52f0d0d92 | |
parent | 6e3fb05afda425947229d7bc23df6b85e9b18d4d [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