commit | 24ec0285c8c926c27e64e74ba0056e9cfdafd23d | [log] [tgz] |
---|---|---|
author | Jeff Hao <jeffhao@google.com> | Thu Mar 17 21:32:45 2016 -0700 |
committer | Jeff Hao <jeffhao@google.com> | Fri Mar 18 15:26:10 2016 -0700 |
tree | 849c6a03b5718a40282cf07b2d104515d2594294 | |
parent | cc4c1686a1e7125ec8b64341e573cc0959936dd3 [diff] |
Add patchoat check that input oat file has patch section. Do this check before opening the output file in case this could be causing the file to become truncated. Bug: 27723864 (cherry-picked from commit 99503b9805def2ed7d4fe4bf285c6fdd8ddce6ed) Change-Id: I2134ec65fb6d9582f4eb4c2619a5ffb7b987eaa6