summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPhil Burk <philburk@google.com>2020-04-08 18:02:06 -0700
committerPhil Burk <philburk@google.com>2020-04-09 09:34:12 -0700
commitd19e2f6e6cd1f96a22d0b10397634764979db5d9 (patch)
tree9e02f70a3e9ff83feed38ecc533d6719c56f7816 /tools/aapt2/java/JavaClassGenerator.cpp
parent0131d5018826d995f434be52a53f52189f127a71 (diff)
MIDI: check range of port counts
Fuzz testing cause out-of-memory errors when passing very large port counts. Now we check to make sure the port count is in a resonable range. Bug: 135639926 Test: any MIDI test will exercise this code Test: https://source.android.com/devices/audio/midi_test.html Change-Id: Ic5dedc1eda86ff86a73a1da66ee6630c9662ceb8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions