commit | bfe56d3e205035388f6d9697dd5f3e93f4922dd0 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Mar 16 08:56:14 2023 -0700 |
committer | David Anderson <dvander@google.com> | Thu Mar 16 21:50:03 2023 -0700 |
tree | 94855f004c110f2b90496b63788abeee399bfd82 | |
parent | 10c200db281fde892878ba92363c26d9fd5ee871 [diff] |
libsparse: Propagate failures when resparsing files. MappedFile creation can fail due to out of memory, but this condition is not handled properly when resparsing. The error is silently ignored and the result is a corrupt file. Bug: 273933042 Bug: 268872725 Test: fastboot update on Windows Change-Id: I4d0f24d6ba390e2328de8f0e3637d17663743df5