platform_bootable_recovery/updater
xunchang 53158e51d0 Fix potential size overflow in blockimg.cpp
Switch to 64 bit integers since the size of the entire src/tgt images may
not fit in size_t of ILP32.

There are other theoretical overflow cases in memory allocation and I/O
functions. However, they reside within a single transfer command and are
less likely to happen. I will evaluate and address them in separate
cls.

Test: unit tests pass
Bug: 122461124
Change-Id: Ib719ee695920877458fcfaa25c6ac058a5bbabf2
2019-01-17 09:26:12 -08:00
..
include updater: add functions to modify dynamic partition metadata 2019-01-14 14:01:13 -08:00
Android.bp updater: add functions to modify dynamic partition metadata 2019-01-14 14:01:13 -08:00
Android.mk updater: add functions to modify dynamic partition metadata 2019-01-14 14:01:13 -08:00
blockimg.cpp Fix potential size overflow in blockimg.cpp 2019-01-17 09:26:12 -08:00
commands.cpp updater: Add TransferList class. 2018-08-17 09:37:26 -07:00
dynamic_partitions.cpp updater: add functions to modify dynamic partition metadata 2019-01-14 14:01:13 -08:00
install.cpp Use dynamically linked f2fs executables. 2018-12-20 14:47:11 -08:00
updater.cpp updater: add functions to modify dynamic partition metadata 2019-01-14 14:01:13 -08:00