RFR: 8319079: Missing range checks in decora

Jayathirth D V jdv at openjdk.org
Mon Oct 30 06:58:48 UTC 2023


In SW pipeline path of Box/Gaussian Blur/Shadow effects we are not checking for range when we read data from the source/destination buffers in native code.

We need to add appropriate range checks in native JNI code also apart from range checks in Java side to make sure that wherever these JNI methods are used we are not performing out of bounds access.

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

Commit messages:
 - 8319079: Missing range checks in decora

Changes: https://git.openjdk.org/jfx/pull/1272/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1272&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319079
  Stats: 116 lines in 5 files changed: 116 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1272.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1272/head:pull/1272

PR: https://git.openjdk.org/jfx/pull/1272


More information about the openjfx-dev mailing list