summaryrefslogtreecommitdiffstats
path: root/adb/adb_utils_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix ' escaping in adb.Elliott Hughes2015-05-151-3/+3
| | | | | | | | | You can't just use \' inside a single-quoted string. Bug: http://b/20323053 Bug: http://b/3090932 Change-Id: I73754b097671d02dc11c35052f0534b6dd789e4f (cherry picked from commit 84b0bf22644b35d6b3d3f7dc96311a484c3519b3)
* Use ' quoting to escape arguments.Elliott Hughes2015-04-171-24/+24
| | | | | | | | | | | The specific motivating case is "text;ls;1.apk", but rather than continue adding individual characters to the list of characters to be escaped, let's just switch to quote all arguments with ', which only leaves ' itself to be escaped. Bug: 20323053 Bug: 19734868 Change-Id: I8bd71db9373bc2d1169fc11e46c889da6638550a
* Fix more buffer overruns.Elliott Hughes2015-04-171-0/+52
Also add some tests. Bug: 20323050 Change-Id: I9eaf3dc04efd85206663c4cca4f8c1208620a89a