RFR: 8282578: AIOOBE in javax.sound.sampled.Clip
Sergey Bylokhov
serb at openjdk.java.net
Fri Jun 3 21:18:31 UTC 2022
On Fri, 3 Jun 2022 15:43:39 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> Add try/catch clause to ignore an exception since it is harmless for we isolated
> the massge data before passing it ro processor.
> Add test case.
Probably it is better to check the data length for each sys message and discard it if the data is too small? Ignoring all possible AIOOBE from this large method which calls many other large methods from SoftVoice/SoftTuning may hide some other bugs.
-------------
PR: https://git.openjdk.java.net/jdk/pull/9016
More information about the client-libs-dev
mailing list