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

Wrong pointers are freed in QList and QArray

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Some future release
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Description

      In QArrayData::deallocate and QListData::realloc_grow, the first reallocation will free pointers to shared_null(s), which are not allocated by CRT. In VS2017, _CrtIsValidHeapPointer will throw exception.

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              cg31 Gang Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes