summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/utility.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2019-04-04 10:10:01 -0700
committerNick Kralevich <nnk@google.com>2019-04-04 10:15:25 -0700
commit9ca898fff81b2cd5adeb77cf1795b4fe8ab07f7f (patch)
treeefb83c4e1fa26b00e79d09d552ac3e54f61ae163 /debuggerd/libdebuggerd/utility.cpp
parent744677aaf516e2af60647297db6c0fe2e17cf330 (diff)
Avoid leaking property values into logs on error
The purpose of having fine grain read/write control over the property space is to help ensure the confidentiality of data stored in properties. Leaking property values into the dmesg buffer on errors exposes the value outside of the access control rules specified by policy. (arguably this is also true for the property name, not just the value. However, property names are exposed in other places now, so the incentive to fix this is lower. It would also take away a valuable debugging tool.) Test: compiles Change-Id: I4a0634b8b5e4fd2edf718eaf7343940df627366d
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions