mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 05:51:06 +00:00
* fix(adb): refuse device directories before pulling adb pull copies a directory tree with no byte limit. pull_adb_file accepted a directory device_path (for example /sdcard), and pull_adb_package accepted a pm path line naming a directory; adb then pulled the whole tree under the 600 s timeout, the tool reported that the result could not be read back, and the tree stayed on disk unrecorded. Both pulls now run the existing test -d probe that push already uses. pull_adb_file refuses a directory as invalid_request on device_path and names list_adb_directory; pull_adb_package refuses a pm path directory with reason directory_device_path before creating output. A probe that cannot establish the answer fails the call rather than pulling. Refs #15326 * fix(adb): keep the pm path answer when a directory probe fails A failed directory probe now retains the completed pm path paths and the entry being checked as a partial observation, and the pull_adb_file directory refusal escapes the device path for display.