commit | bcb01042efffe5cdc28aa3d067b9fac8da5e2328 | [log] [tgz] |
---|---|---|
author | liyong <liyong@allwinnertech.com> | Fri Jun 28 15:05:12 2019 +0800 |
committer | 勇 李 <liyong@allwinnertech.com> | Thu Jul 04 11:29:19 2019 +0000 |
tree | f2e6f4d151f64cdf9e441b43e4e856e4fa1e0f4f | |
parent | b8162bbd8ce42f943d4332a7bbcc74ed77e93621 [diff] |
Fix unsigned type sub overflow issue when isntall DSU writer->size() is block size aligned and could be bigger than remaining_bytes If remaining_bytes is bigger, set remaining_bytes to 0 to avoid sub overflow error. Bug: 136727859 Test: Successfully install a DSU Change-Id: If493b0f206561239caec2ee234f7cfd70bf927a7