summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2019-04-18 18:25:57 -0700
committerChristian Wailes <chriswailes@google.com>2019-04-25 21:03:09 +0000
commitaee02f6ffe859852afec3d02287647c658a40967 (patch)
tree7d159295fbe5dcd1328d7877cfafdef4019e4c90 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent6ee42f473c1fe99c3901b61032ead7a8f2d1f4c5 (diff)
Adds additional sanitization for Zygote command arguments.
Previously we were only insuring that the arguments provided to the Zygote didn't contain any newlines. This adds additional checks for carriage returns and standalone integer arguments to protect against malicious argument and packet injection respectively. Bug: 130164289 Test: m & flash & boot & check logs Change-Id: I4055c50d52db0047c02c11096710fd07b429660c Merged-In: I4055c50d52db0047c02c11096710fd07b429660c (cherry picked from commit c99198249f8bb79487d4f9f0f45b5b2fefaba41a)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions