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

Coverity: Use after free in Qt Designer's property editor

    XMLWordPrintable

Details

    • All
    • 39391e528 (dev), f68994586 (6.9), d94d58739 (6.8), 99ebdcf5f (dev), 713a2c23c (6.9), e4d59f9ec (6.8)

    Description

      qttools/src/designer/src/components/propertyeditor/designerpropertymanager.cpp
      has multiple occurrences of code like:

      QtProperty *alignV = m_propertyToAlignV.value(property);
          if (alignV) {
              delete alignV;
              m_alignVToProperty.remove(alignV);
          }
      

      which triggers a coverity warning about use after free (sort-of semi-false positive).

      Attachments

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

        Activity