On Fri, 5 Aug 2022 09:46:13 GMT, Julian Waters <[email protected]> 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.

This pull request has now been integrated.

Changeset: 3d20a8b2
Author:    Julian Waters <[email protected]>
Committer: Phil Race <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/3d20a8b20a636e4c11ad1568b011191726b45b90
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8291959: FileFontStrike#initNative does not properly initialize IG Table on 
Windows

Reviewed-by: prr

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

PR: https://git.openjdk.org/jdk/pull/9772

Reply via email to