commit | f7e029932e7fcaeacacc50fb71229c055c81a460 | [log] [tgz] |
---|---|---|
author | Igor Eremeev <myrth@yandex-team.ru> | Tue Jul 17 14:10:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 17 14:10:29 2018 |
tree | 6e7f6593405229193181a1d60bc2cc4a48750f2d | |
parent | 45e6b9e2048f355463a80281db9f3d4708eb0981 [diff] |
[Supersize] Fix incorrect normalization of thin archive paths. Strings in |MapFileParser| may contain concated thin archive paths like "path/to/lib.a(../../path/to/object.o)". Normpath treats it as a path and resolves second .. by removing the "lib.a(.." part. It breaks thin archives processing, resulting in exceptions up the stack in |archive| on calls to "rindex('(')". Solution: thin archive paths do already get their paths normalized later in |ar.CreateThinObjectPath|. So just skip them at this point. R=huangs@chromium.org,agrieve@chromium.org Change-Id: I83bffca44eba2a56c0ffdbfc8c83cd2785fb8b56 Reviewed-on: https://chromium-review.googlesource.com/1140298 Reviewed-by: agrieve <agrieve@chromium.org> Reviewed-by: Samuel Huang <huangs@chromium.org> Commit-Queue: agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#575631}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .