RFR: 8373626: [asan] read past end of buffer in sun.awt.image.ImagingLib.convolveBI [v3]

Phil Race prr at openjdk.org
Mon Feb 23 20:24:28 UTC 2026


On Wed, 18 Feb 2026 09:31:55 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

>> src/java.desktop/share/native/libmlib_image/mlib_ImageConv_u16nw.c line 922:
>> 
>>> 920:           off += kw;
>>> 921: 
>>> 922:           sp += (kw - 1)*chan1;
>> 
>> Just to check: before the patch, the code read data from sp to set pXX, then increased sp. After the patch, the order is different. Is that correct?
>
> I also have same query.

fixed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29257#discussion_r2842897514


More information about the client-libs-dev mailing list