platform_system_core/fastboot/device
Keith Mok a3b72067de Add checking for sparse file format
Sparse file can come from an untrusted source.
Need more checking to ensure that it is not a malformed
file and would not cause any OOB read access.

Update fuzz test for decoding also.

Test: adb reboot fastboot
      fuzzy_fastboot --gtest_filter=Fuzz.Sparse*
      fuzzy_fastboot --gtest_filter=Conformance.Sparse*
      sparse_fuzzer
Bug: 212705418
Change-Id: I7622df307bb00e59faaba8bb2c67cb474cffed8e
2022-01-14 00:37:48 +00:00
..
commands.cpp Fix userspace fastboot with fuzzy test 2022-01-04 19:24:23 +00:00
commands.h fastbootd: Add fetch command on device 2021-03-17 15:38:06 -07:00
fastboot_device.cpp Fix userspace fastboot with fuzzy test 2022-01-04 19:24:23 +00:00
fastboot_device.h fastboot: use health AIDL HAL 2021-12-06 23:18:32 -08:00
flashing.cpp Add checking for sparse file format 2022-01-14 00:37:48 +00:00
flashing.h fastbootd: Remove metadata merging code. 2018-10-26 13:34:40 -07:00
main.cpp Add fastbootd. 2018-08-02 09:43:23 -07:00
tcp_client.cpp fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
tcp_client.h fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
usb.cpp fastboot device: Disallow implicit conversion from unique_fd to int. 2021-03-22 19:30:59 -07:00
usb.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
usb_client.cpp fastbootd: Fix USB transport data is repeated every 256K 2021-03-05 19:45:00 -08:00
usb_client.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
utility.cpp fastbootd: allow passage of flags to open partition 2021-11-04 12:05:48 -07:00
utility.h fastbootd: allow passage of flags to open partition 2021-11-04 12:05:48 -07:00
variables.cpp fastboot: use health AIDL HAL 2021-12-06 23:18:32 -08:00
variables.h fastbootd: Add getvar max-fetch-size. 2021-03-17 15:38:06 -07:00