-
Bug
-
Resolution: Unresolved
-
P4
-
26
-
None
-
In Review
-
linux
Null pointer dereference in src/java.desktop/share/native/common/java2d/opengl/OGLBlitLoops.c OGLBlitToSurfaceViaTexture()
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reported-by: Artem Semenov <savoptik@altlinux.org>.
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.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reported-by: Artem Semenov <savoptik@altlinux.org>.
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.
- links to
-
Review(master) openjdk/jdk/26799