microADB icon indicating copy to clipboard operation
microADB copied to clipboard

Bug fixes for ADB

Open JianyuWang0623 opened this issue 1 year ago • 1 comments

Summary

  1. Fix used after free issue about handle close - 243f21e2ec8081e26131357a590bed45a783013b
  2. Fix memory leaks when adbd exit - 6b47b63c14d4bcef45df1ecb7265a93109fbf56c
  3. Call service_close to send CLSE frame when child task exit - 262457c25b7cd465181904bf5444e97dd6737596
  4. Avoid kick when read/write pipe had beed close - 25236f019e1e932b16f48535fdb56f7d2eb5c13b
  5. Send response before adb_reboot_impl() to avoid host reporting error log - e70f524e218439cde3820afdfb80d61d653c1836
  6. Check whether client has services before close to fix crash - 84f46c05f401dec658b226ae6d66195de4850a9e
  7. Copy packet to svc to prevent the current packet from being overwritten - 868a51c21e40d5fc166678b598c71ce3a189cb29
  8. Avoid sending termination signals to tasks that are accessing the file system to avoid deadlock - 0e3390d8e13120199d7b34fbf95cd335ac350aab

Impact

Bugfix for microADB.

Test

  • Selftest
  • CI

JianyuWang0623 avatar Oct 13 '24 16:10 JianyuWang0623

Splited from https://github.com/spiriou/microADB/pull/42. CC: @xiaoxiang781216 @GUIDINGLI @Donny9 @guohao15

JianyuWang0623 avatar Oct 13 '24 16:10 JianyuWang0623