diff options
author | Sreeram Ramachandran <sreeram@google.com> | 2014-09-03 15:45:59 -0700 |
---|---|---|
committer | Sreeram Ramachandran <sreeram@google.com> | 2014-09-05 20:31:46 +0000 |
commit | ef12884da7c8844f8dd27cbc9c9980f685b73a2c (patch) | |
tree | 5f3de9338ff54b1c0d7adb48aae2ffe254e6fb08 /libs/hwui/ProgramCache.cpp | |
parent | df11867be3f60b6bd5e24afca7820c29a28c85c7 (diff) | |
download | frameworks_base-ef12884da7c8844f8dd27cbc9c9980f685b73a2c.zip frameworks_base-ef12884da7c8844f8dd27cbc9c9980f685b73a2c.tar.gz frameworks_base-ef12884da7c8844f8dd27cbc9c9980f685b73a2c.tar.bz2 |
Unescape strings properly in NsdService.
NativeDaemonEvent.unescapeArgs() was improperly skipping the terminating
quote in cases like "\\", where the char preceding the quote is a
backslash, but the backslash itself is escaped, so the quote is indeed
an unescaped terminator.
unescapeArgs() doesn't unescape "\xxx" decimal escapes used by mDNS, so
fix NsdService to do that sort of unescaping explicitly (which is only
applicable when it receives a "fullname", in SERVICE_RESOLVED).
Bug: 16983542
Bug: 16986203
Change-Id: Idfa79749336c68424d961bc414f984c525b7e5e6
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions