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

Dangling pointer within QmlSensor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.9.8, 5.12.5, 5.12.6, 5.13.2
    • Sensors
    • None
    • macOS 10.15.1
      Qt 5.13.2
    • All

    Description

      There is a dangling pointer due to passing local variable ret to the QQmlListProperty<QmlSensorRange>( const_cast<QmlSensor*>(this), ret ) constructor in return statement within QmlSensor::availableDataRates() function here

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              kozmon Ömer Göktaş
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change