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

tst_qanimationgroupjob reads deleted memory in addChildTwice()

    XMLWordPrintable

Details

    • ea17082234d9921c1fdf34a1f34fa28eeb7faf88 (qt/qtdeclarative/5.12)

    Description

      QAbstractAnimationJob::clear() just deletes the children without calling any virtual methods. Therefore, QSequentialAnimationGroupJob::m_currentAnimation is not cleared and points to invalid memory afterwards. When appending the next animation it is dereferenced.

      Attachments

        For Gerrit Dashboard: QTBUG-73828
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes