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

Jayathirth D V jdv at openjdk.org
Wed Feb 18 09:34:39 UTC 2026


On Sat, 7 Feb 2026 02:32:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8373626
>
> 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.

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

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


More information about the client-libs-dev mailing list