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

Heap use after free in tst_basic

    XMLWordPrintable

Details

    Description

      QQuickListViewPrivate registers itself as a ChangeListener, but doesn't seem to get properly unregistered when the list ListView gets destroyed => dangling pointer when iterating over changeListeners in ~QQuickItem. That doesn't appear to cause a crash so far, but gets caught by ASAN. See asan.txt for the report

       

      Attachments

        1. asan.txt
          32 kB
          Fabian Kosmale

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes