diff options
author | Hridya Valsaraju <hridya@google.com> | 2019-05-17 14:24:19 -0700 |
---|---|---|
committer | Hridya Valsaraju <hridya@google.com> | 2019-05-20 23:58:45 +0000 |
commit | f929aaa7c045b91a4b50ca39fca90bb3d60f8662 (patch) | |
tree | 85fab2bdb7c9b0cbe11382f32329ecb77dec90aa /libutils/ProcessCallStack_fuzz.cpp | |
parent | 20b0bd9ca4007ea96daaa27dcd48bc519a8fece1 (diff) |
Get max-download-size from device during fastbootd for flashall/update
Currently, during a 'fastboot flashall/fastboot update', the 'getvar
max-download-size' command is issued once to the device when it is in
bootloader mode and the same value is used even after the device boots
into fastbootd. If the max-download-size returned by bootloader is
greater than the max-download-size in fastbootd, this could break flash
as large images are broken down into chunks before downloading by using
the max-download-size variable. This will cause fastbootd to return
an error since it checks whether the buffer being downloaded has a size
greater than the max-download-size limit.
Test: fastboot flashall
Bug: 132917902
Change-Id: Ife7c1ec0583d80d4a31ecf01f1fc14a8365afe0d
Merged-In: Ife7c1ec0583d80d4a31ecf01f1fc14a8365afe0d
(cherry picked from commit 83d856e4c59b6c02eeb7d468892b157a13f7cbf5)
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions