Fixed android super.img loop download 52byte after some blockuuu_1.5.21
commit1f42172b171200e2b6bdb7120b8ce7ae5bcf8aa1
authorFrank Li <frank.li@nxp.com>
Wed, 1 Feb 2023 18:36:12 +0000 (1 12:36 -0600)
committerFrank Li <frank.li@nxp.com>
Wed, 1 Feb 2023 18:36:12 +0000 (1 12:36 -0600)
tree7f0242de5c9811245a53bb8d4d9b6652e7129873
parent6ac027462ed597f5f01bfcfe8af93e868fa9f641
Fixed android super.img loop download 52byte after some block

request_data change return value, which only contain requested
data region. sparse image to sparse image convert code has problem
at while(off < pos). off just request data offset. pos is whole
file's offset. off should add start point.

Signed-off-by: Frank Li <frank.li@nxp.com>
libuuu/fastboot.cpp