commit | a8bc340abfcde516e563de5ff800ccb683928ad4 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Jan 07 14:15:59 2016 -0700 |
committer | The Android Automerger <android-build@google.com> | Fri Feb 26 15:08:42 2016 -0800 |
tree | 159e92bba45e191f997399c39a2aedf62f4b615a | |
parent | 4099afd8117743bdab7ea4281638adadf0f501ba [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