commit | 23ceeea85e6a3555dd3d7140128e310954cadf7f | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Thu Jul 08 17:27:55 2010 -0700 |
committer | Doug Zongker <dougz@android.com> | Thu Jul 08 17:27:55 2010 -0700 |
tree | 3d189beaa3ce60b54b20d66876cd52b69a7a3202 | |
parent | c78a9698dd55a165c2206c380f87f173bacba2aa [diff] |
make a copy of sideloaded packages in /tmp before verifying Copy a sideloaded package into /tmp, then verify and install the copy, to prevent malicious users from overwriting the package between verification and install. Bug: 2826890 package can be replaced during verification Bug: 2058160 Recovery should copy sideloaded (sd card) update ... Change-Id: I3de148b0f1a671f1974782b6855527caeaefda23