RFR: 8282578: AIOOBE in javax.sound.sampled.Clip [v2]

Alexander Zuev kizune at openjdk.org
Sun Dec 4 22:17:55 UTC 2022


> 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.

Alexander Zuev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Got rid of the try/catch and using the proper per-case data length
   analysis.
 - Merge branch 'master' into JDK-8282578
 - Merge branch 'master' of https://github.com/azuev-java/jdk into JDK-8282578
 - Merge branch 'master'
 - 8282578: AIOOBE in javax.sound.sampled.Clip
   
   Surround SysEx message processing block with try/catch allowing MIDI subsystem to
   attempt to ingest the rest of the file.
   
   Added test case.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/9016/files
  - new: https://git.openjdk.org/jdk/pull/9016/files/d085cfb1..f2ff2d14

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9016&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9016&range=00-01

  Stats: 687730 lines in 9247 files changed: 362349 ins; 221489 del; 103892 mod
  Patch: https://git.openjdk.org/jdk/pull/9016.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9016/head:pull/9016

PR: https://git.openjdk.org/jdk/pull/9016



More information about the client-libs-dev mailing list