commit | aceb9c08df80da9c929af2998c54870455b79a03 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon May 04 19:29:32 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue May 05 12:45:42 2015 -0700 |
tree | a15e1eeee89d7433494080ae6526718cb7d39522 | |
parent | 7d678d8d78b40c9c7697565637ba5e4dc81ec02f [diff] |
Implement the ssh(1) escaping rules. The first rule of ssh(1) escaping is that there is no escaping. This doesn't undo any of my recent security fixes because they're all calling escape_arg themselves. This fixes "adb shell rm /data/dalvik-cache/arm/*". Also remove do_cmd which caused concern during code review. Bug: http://b/20564385 Change-Id: I4588fd949d51e2a50cff47ea171ed2d75f402d0d (cherry picked from commit 2b10111d25adcfe3627103b73edad22f188c97ba)