summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-11-18 00:32:42 +0000
committer Steven Moreland <smoreland@google.com> 2020-11-18 00:32:42 +0000
commit51e02b16c397c44ddf81a0736cf6045cd4c44128 (patch)
tree986694f57b3462a799c9d11926499235c2bed84c /libs/gui/DisplayEventDispatcher.cpp
parent143c9c57fab3db9d0e38d79f05dce5864ae7cd00 (diff)
libbinder: check null bytes in readString*Inplace
This is entirely defensive, since the only real guarantee we have here from these APIs is that a buffer of a given length is available. However, since we write 0's here, presumably to guard against people assuming these are null-terminated strings, we might as well enforce that they are actually null terminated. Bug: 172655291 Test: binderParcelTest (added in newer CL) Change-Id: Ie879112540155f6a93b97aeaf3d41ed8ba4ae79f
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions