commit | 5c08fb8cbeb045b9ce447443208e87f42604d168 | [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:19:04 2016 -0700 |
tree | 46755097ef07e038808a6a7bc1ece06753bc7322 | |
parent | 7460b6e0abad953fc8946296fa3f11bc4b1b60c6 [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