summaryrefslogtreecommitdiff
path: root/libsparse/sparse.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
commita40a845b701e1ac7f0d0d49f65eeaa0002a2ffa4 (patch)
treeefb83c4e1fa26b00e79d09d552ac3e54f61ae163 /libsparse/sparse.cpp
parent78ebcf4e40b09bbc71cf0ac6405aa4934db25a34 (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 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions