Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116773

Adding "Fuzzed" .otf font files causes access violation exception

    XMLWordPrintable

Details

    • Windows
    • 9fe47cf2e (dev), d0ed5db78 (6.6), 5121ffc21 (6.5), a66a3983f (6.6.0), 863419667 (tqtc/lts-6.2), b455c20d7 (tqtc/lts-5.15)

    Description

      When a series of fuzzed .otf font files are loaded and passed to AddApplicationFontFromData, the application crashes with an access violation.

      Will attach the fuzzed font files and a simple main.cpp that shows the problem

      The .otf files need to be placed into the exe location or the path in the main function needs to point to the folder containing the files.

      Attachments

        1. image-2023-10-03-09-16-43-870.png
          87 kB
          Kevin Smith
        2. image-2023-10-03-09-16-47-623.png
          87 kB
          Kevin Smith
        3. otf_addfont_crash.zip
          23.55 MB
          Kevin Smith

        Issue Links

          For Gerrit Dashboard: QTBUG-116773
          # Subject Branch Project Status CR V

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              kcsmith Kevin Smith
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes