On Fri, 15 Aug 2025 13:04:35 GMT, Artem Semenov <aseme...@openjdk.org> wrote:

> The defect has been detected and confirmed in the function 
> OGLBlitToSurfaceViaTexture() located in the file 
> src/java.desktop/share/native/common/java2d/opengl/OGLBlitLoops.c with static 
> code analysis. This defect can potentially lead to a null pointer dereference.
> 
> The pointer pf is dereferenced in line 324 without checking for nullptr, 
> although earlier in line 274 the same pointer is checked for nullptr, which 
> indicates that it can be null.
> 
> According to 
> [this](https://github.com/openjdk/jdk/pull/26002#issuecomment-3023050372) 
> comment, this PR contains fixes for similar cases in other places.

There seem to be un-related changes in this PR. Please check.

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

PR Comment: https://git.openjdk.org/jdk/pull/26799#issuecomment-3204241480

Reply via email to