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

Missing range checks in ftGdiGetGlyphOutline

    XMLWordPrintable

    Details

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

      Description

      ftGdiGetGlyphOutline takes a buffer pvBuf and its size cjBuf as parameters, aborts and returns the needed size if cjBuf is zero but otherwise apparently writes whatever it has into pvBuf regardless of cjBufs value.

      Line 4448 of winetests/gdi32/font.c however expects GetGlyphOutline to fail with GDI_ERROR when invoked with a four byte buffer to store the entire glyph bitmap in.

        Attachments

          Activity

            People

            • Assignee:
              AmineKhaldi AmineKhaldi
              Reporter:
              gyROS gyROS
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: