Integrated: 8331603: Cleanup native AbstractSurface methods getRGBImpl, setRGBImpl

Ambarish Rapte arapte at openjdk.org
Tue Jul 9 18:31:21 UTC 2024


On Mon, 8 Jul 2024 13:39:49 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

> The parameter "offset" is not validated in the 2 native methods getRGBImpl() and setRGBImpl() of com.sun.pisces.AbstractSurface (in JAbstractSurface.c).
> The PR adds the "offset < 0" check to both the methods.

This pull request has now been integrated.

Changeset: e0fdb42b
Author:    Ambarish Rapte <arapte at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/e0fdb42b9fc0c09d8d7bf751f5adb9d8f07c0c4c
Stats:     6 lines in 1 file changed: 0 ins; 0 del; 6 mod

8331603: Cleanup native AbstractSurface methods getRGBImpl, setRGBImpl

Reviewed-by: kcr, angorya

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

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


More information about the openjfx-dev mailing list