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

QPixmap.load resulting in excessive BUFFER OVERFLOW events in SysInternals ProcessMonitor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.14.2
    • GUI: Painting
    • None
    • Windows 10 2004
    • Windows

    Description

      Hi,

      I'm seeing an incredibly large number of BUFFER OVERFLOW events when monitoring my system with SysInternals ProcessMonitor, which appear to be related to the Qpixmap.load call (passing in a string to the PNG file)

      The code section where this occurs is as shown below

      My understanding was that sometimes when calling a Win32 API if you don't know the size of the buffer, you would pass in a NULL pointer, and that may result in a BUFFER OVERFLOW, however following this you would also get a result that told you the correct size for the buffer, so you could obtain the right buffer size and try again.

      This looks like it's trying much too hard.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            bevanweiss Bevan Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes