diff options
author | Frank Li <Frank.Li@nxp.com> | 2018-10-17 13:58:23 -0500 |
---|---|---|
committer | Frank Li <Frank.Li@nxp.com> | 2018-10-18 10:57:27 -0500 |
commit | 08090670625c4ccf86dbc9157dad4799f3669fb7 (patch) | |
tree | 474fcdc6751c744acd9a079f8123af6c9fc0fa71 /doc | |
parent | e9b7faa15914293678a2aa4ff1b4159619eec566 (diff) |
MLK-19969 fastboot: write to wrong position when size bigger than 4GB
chunk_data_sz = sparse_header->blk_sz * chunk_header->chunk_sz;
All is uint32. chunk_data_sz may be bigger than 4G.
Change chunk_data_sz to 64bit.
force chunk_header->chunk_sz and sparse_header->blk_sz to 64bit.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Ye Li <Ye.Li@nxp.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions