microADB
microADB copied to clipboard
Bug fixes for ADB
Summary
- Fix used after free issue about handle close - 243f21e2ec8081e26131357a590bed45a783013b
- Fix memory leaks when adbd exit - 6b47b63c14d4bcef45df1ecb7265a93109fbf56c
- Call service_close to send CLSE frame when child task exit - 262457c25b7cd465181904bf5444e97dd6737596
- Avoid kick when read/write pipe had beed close - 25236f019e1e932b16f48535fdb56f7d2eb5c13b
- Send response before adb_reboot_impl() to avoid host reporting error log - e70f524e218439cde3820afdfb80d61d653c1836
- Check whether client has services before close to fix crash - 84f46c05f401dec658b226ae6d66195de4850a9e
- Copy packet to svc to prevent the current packet from being overwritten - 868a51c21e40d5fc166678b598c71ce3a189cb29
- Avoid sending termination signals to tasks that are accessing the file system to avoid deadlock - 0e3390d8e13120199d7b34fbf95cd335ac350aab
Impact
Bugfix for microADB.
Test
- Selftest
- CI
Splited from https://github.com/spiriou/microADB/pull/42. CC: @xiaoxiang781216 @GUIDINGLI @Donny9 @guohao15