On Tue, 17 Nov 2026 12:37:58 GMT, Matthias Baesken <[email protected]> wrote:
> Btw. what about this multiplication > https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/native/libsplashscreen/splashscreen_impl.c#L149 > (stride * height, both int), should we guard/check or cast there too ? Agreed. It’s also worth pointing out that screenStride can overflow before we even get to malloc(), so casting the allocation size alone won’t fully solve it. I’d rather track that separately, since it’s in the shared rendering code and not really specific to the JPEG decoder. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33915#issuecomment-6969876879
