commit | efe90c297a8df591c051fdbfacb92b5283390bba | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Jun 01 10:49:40 2018 -0600 |
committer | Jeff Sharkey <jsharkey@google.com> | Fri Jun 01 16:51:25 2018 +0000 |
tree | 1a442b76c7c35af5dafb58990a0b648867589f33 | |
parent | b2cc45fe711dc42c8c0444584b2513ac59b3ad3b [diff] |
Ignore quotes in safe_print(). If the value being printed has embedded quotes ("), then printing those quotes could confuse other tools when parsing the value. This is the simplest CL to fix the security issue, and we can circle back to think about more robust escaping in a future CL. Bug: 80436257 Test: manual Change-Id: Ica17f2c5701573bceafe34f20110d230a3925483