<feed xmlns='http://www.w3.org/2005/Atom'>
<title>system_core/adb/adb_utils.cpp, branch replicant-6.0</title>
<subtitle>system/core
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/'/>
<entry>
<title>Fix ' escaping in adb.</title>
<updated>2015-05-15T21:50:47+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-05-15T19:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=2181c722ceac50dde3c4a399950b37e7fd6a5893'/>
<id>2181c722ceac50dde3c4a399950b37e7fd6a5893</id>
<content type='text'>
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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>More adb buffer fixes.</title>
<updated>2015-05-02T00:09:34+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-05-01T00:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=92af733ee202caa3b5475fe27fcc81582f11e7c8'/>
<id>92af733ee202caa3b5475fe27fcc81582f11e7c8</id>
<content type='text'>
This patch factors out a lot of the basic protocol code: sending OKAY,
sending FAIL, and sending a length-prefixed string.

ADB_TRACE has been non-optional for a long time, so let's just remove
the #ifs.

Also actually build the device tracker test tool (and remove its duplicate).

Bug: http://b/20666660
Change-Id: I6c7d59f18707bdc62ca69dea45547617f9f31fc6
(cherry picked from commit e67f1f87d9b1188ec8617035db7006c37ee7b21e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch factors out a lot of the basic protocol code: sending OKAY,
sending FAIL, and sending a length-prefixed string.

ADB_TRACE has been non-optional for a long time, so let's just remove
the #ifs.

Also actually build the device tracker test tool (and remove its duplicate).

Bug: http://b/20666660
Change-Id: I6c7d59f18707bdc62ca69dea45547617f9f31fc6
(cherry picked from commit e67f1f87d9b1188ec8617035db7006c37ee7b21e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Use ' quoting to escape arguments."</title>
<updated>2015-04-21T16:47:43+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-21T16:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=14b65736c5ed487ebba93d3ccc3e261ece71f833'/>
<id>14b65736c5ed487ebba93d3ccc3e261ece71f833</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the Windows adb build.</title>
<updated>2015-04-19T20:17:01+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-19T20:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=53daee6a2b415caa0ff3e425c7fa613c834bca61'/>
<id>53daee6a2b415caa0ff3e425c7fa613c834bca61</id>
<content type='text'>
It looks like we can't use clang on Windows yet because libc++ isn't ready.
So move back to GCC for the Windows host clang. Work around the mingw
printf format string problems that made us want to switch to clang in the
first place, and #include "sysdeps.h" in adb_utils.cpp to work around the
absence of lstat(2) on Windows.

Change-Id: Icd0797a8c0c2d1d326bdd704ba6bcafcbaeb742f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It looks like we can't use clang on Windows yet because libc++ isn't ready.
So move back to GCC for the Windows host clang. Work around the mingw
printf format string problems that made us want to switch to clang in the
first place, and #include "sysdeps.h" in adb_utils.cpp to work around the
absence of lstat(2) on Windows.

Change-Id: Icd0797a8c0c2d1d326bdd704ba6bcafcbaeb742f
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ' quoting to escape arguments.</title>
<updated>2015-04-18T03:55:04+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-18T03:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=5498adefb00cd979137361b98fcbf8d51f72ebeb'/>
<id>5498adefb00cd979137361b98fcbf8d51f72ebeb</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove yet more fixed-length buffers (and their overruns).</title>
<updated>2015-04-18T00:58:35+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-18T00:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=a7090b94c181f3efe5b53d2c8367b78d99074dfe'/>
<id>a7090b94c181f3efe5b53d2c8367b78d99074dfe</id>
<content type='text'>
Bug: 20317724
Change-Id: If137fc96f5f23576ccecd388ac87afefa47337c6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 20317724
Change-Id: If137fc96f5f23576ccecd388ac87afefa47337c6
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix more buffer overruns.</title>
<updated>2015-04-17T22:23:31+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-17T20:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=5830577bd82fdb7c39555da20a4cf585b8bb376a'/>
<id>5830577bd82fdb7c39555da20a4cf585b8bb376a</id>
<content type='text'>
Also add some tests.

Bug: 20323050
Change-Id: I9eaf3dc04efd85206663c4cca4f8c1208620a89a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add some tests.

Bug: 20323050
Change-Id: I9eaf3dc04efd85206663c4cca4f8c1208620a89a
</pre>
</div>
</content>
</entry>
</feed>
