Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-8507

Fixes for GetOutlineTextMetrics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.3.17
    • Component/s: Win32SS
    • Labels:

      Description

      GetOutlineTextMetricsW almost always fails because most callers call it with sizeof(OUTLINETEXTMETRICSW) without really caring for the embedded string at the end of the struct.
      Our code fails if the supplied buffer is too small to contain the said strings, hence the problem.

      This affects for instance gdiplus font code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zefklop zefklop
                Reporter:
                zefklop zefklop
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: