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

Wrong pointers are freed in QList and QArray

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Some future release
    • None

    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

              thiago Thiago Macieira
              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