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

Missing range checks in ftGdiGetGlyphOutline

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.0
    • Win32SS
    • 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

            AmineKhaldi AmineKhaldi
            gyROS Benedikt Freisen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: