Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291959

FileFontStrike#initNative does not properly initialize IG Table on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • client-libs
    • None
    • b11
    • windows

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jwaters Julian Waters
              jwaters Julian Waters
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: