commit | d19e2f6e6cd1f96a22d0b10397634764979db5d9 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Wed Apr 08 18:02:06 2020 -0700 |
committer | Phil Burk <philburk@google.com> | Thu Apr 09 09:34:12 2020 -0700 |
tree | 9e02f70a3e9ff83feed38ecc533d6719c56f7816 | |
parent | 0131d5018826d995f434be52a53f52189f127a71 [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