commit | 5accb135178325878840c6e36fc3e640ae582dea | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Jan 07 14:15:59 2016 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Jan 14 14:24:09 2016 -0700 |
tree | aa0af740555f5791a96c42195d8447b80db7b786 | |
parent | 06d3867b1d96c3ad73d677e7c04a8d94b9f93c8b [diff] |
Use resolved path for both checking and opening. This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb