RFR: 8319079: Missing range checks in decora [v3]

Jayathirth D V jdv at openjdk.org
Thu Nov 2 06:55:29 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.

Jayathirth D V has updated the pull request incrementally with two additional commits since the last revision:

 - Update checkRange arguments indentation
 - Add checkRange function comment

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1272/files
  - new: https://git.openjdk.org/jfx/pull/1272/files/5cccac6b..69739db9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1272&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1272&range=01-02

  Stats: 45 lines in 6 files changed: 5 ins; 20 del; 20 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