commit | 2ca07b0466d3fd22bf46df131fee8c6b414e89c3 | [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 | f2c622b9e371ad855d28588a5c99907ce870512a | |
parent | 37f83ed4c8930b1241834d17b5d75dbf2d3f4368 [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 eaabdd67f30600cbd329cd583ecff3ced34a55ba)