RFR: 8291959: FileFontStrike#initNative does not properly initialize IG Table on Windows
Julian Waters
jwaters at openjdk.org
Mon Aug 8 05:40:02 UTC 2022
On Fri, 5 Aug 2022 09:46:13 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> FileFontStrike#initNative calls memset with LCDLUTCOUNT (the maximum length) as the number of bytes to zero out, which is incorrect as the elements are not 1 byte in size (unsigned char*), and will result in only part of the IG Table being correctly zeroed. This is more correctly resolved by passing sizeof igLUTable to memset instead.
Bumped to latest to resolve JTReg failure on MacOS, currently awaiting sponsorship
-------------
PR: https://git.openjdk.org/jdk/pull/9772
More information about the client-libs-dev
mailing list