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

QTriangulator: node pointer of SimpleToMonotone::Edge uninitialized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.1
    • 5.15
    • GUI: Painting
    • b7b17e719ea57f2d697bc0f61bffaa0fab910701 (qt/qtbase/dev) 1356f0c2c3c29cb5a5a676de23f3d582c140bc8c (qt/qtbase/5.15)

    Description

      Coverity warns about the Edge::node member not being initialized in the Edge instance created in QTriangulator<T>::SimpleToMonotone::createDiagonal.

      This is correct, and given that this data member is initialized elsewhere (ie in setupDataStructures), it seems safest to initialize it to nullptr right away.

      This is CID 11398

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              vhilshei Volker Hilsheimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes