summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.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-19 15:14:20 -0700
commit932b5048655ad746e265be1fd590194f7e930f61 (patch)
treecec640fc3625d6fa2e65129580b26e3fa13188d4 /tools/aapt2/java/JavaClassGenerator.cpp
parentf9f8120e56caf757e4a995c6a62273f9210c041d (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions