summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorliyong <liyong@allwinnertech.com>2019-06-28 15:05:12 +0800
committer勇 李 <liyong@allwinnertech.com>2019-07-04 11:29:19 +0000
commit089941c800e57ffadbeef24a38410b415448713d (patch)
treef2e6f4d151f64cdf9e441b43e4e856e4fa1e0f4f /fastboot/fastboot.cpp
parentc538656d7d991ceb1058ac624be95bca45780d9d (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
Diffstat (limited to 'fastboot/fastboot.cpp')
0 files changed, 0 insertions, 0 deletions