commit | bdc831357e7a116bc561d51bf2ddc85ff11c01a9 | [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:17:30 2016 -0700 |
tree | ae8fe48bbc79c0a044dc0624f6f30d09b11bc0f4 | |
parent | f3679d0367cd8a0e72875800decf9f63033645a0 [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