RFR: 8331603: Cleanup native AbstractSurface methods getRGBImpl, setRGBImpl

Kevin Rushforth kcr at openjdk.org
Mon Jul 8 16:19:39 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.

I will review this. It's a simple enough change, but a second reviewer wouldn't be a bad idea.

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

PR Comment: https://git.openjdk.org/jfx/pull/1497#issuecomment-2214580042


More information about the openjfx-dev mailing list