summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-06-01 10:49:40 -0600
committerTheodore Ts'o <tytso@mit.edu>2018-08-18 15:59:58 -0400
commitc2587743008219e01913490ea9d0f524ae10eef9 (patch)
treed1555d62089920acac8b1dc0309a391918ec684b /contrib
parent0c625fed12b1bbbe85a1c08846a2a24b8746a745 (diff)
downloade2fsprogs-c2587743008219e01913490ea9d0f524ae10eef9.tar.gz
AOSP: 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. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Bug: 80436257 Test: manual Change-Id: Ica17f2c5701573bceafe34f20110d230a3925483 From AOSP commit: efe90c297a8df591c051fdbfacb92b5283390bba
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions