summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2017-04-18 15:54:43 -0700
committerMartijn Coenen <maco@google.com>2017-04-27 16:24:26 -0700
commit7c00639a6802a9235ca9f2ad21577515215a4ee6 (patch)
tree9622ae1e419b84903a2f07f3d49229bfa639282d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5bd39aaf42a7d70438cb7c2de5293192e945145e (diff)
Validate incoming data properly.
Make sure calls to readBuffer() and readEmbeddedBuffer() get the correct size, parent and offset passed in, so these can be validated by libhwbinder. Modified HwBlob to take a length argument as well, so it can be validated. Bug: 30498700 Test: hidl_test, hidl_test_java, Youtube, Maps, Netflix, Camera Change-Id: I28712db97ae29b46acfe952d3d92d1ce5f666a4d Merged-In: I28712db97ae29b46acfe952d3d92d1ce5f666a4d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions