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

QHash/QMap: Check for parameters taking references to objects that may be part of the container

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Story Points:
      8
    • Commits:
      8f8775adf3c4fbba1bd3c120a228351d46f50127, 362383b33cc3c1f9ab8fde740027d6d2a3a61e03
    • Sprint:
      Team 2 Foundation_Sprint 46, Team 2 Foundation_Sprint 47

      Description

      In multi-threaded environments such references will, after detach, have an undefined lifetime and may be corrupted, freed or overwritten at any time. As such, copies of the argument must be taken to guard against this race.

      See: https://codereview.qt-project.org/c/qt/qtbase/+/378479

        Attachments

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

          Activity

            People

            Assignee:
            manordheim Mårten Nordheim
            Reporter:
            manordheim Mårten Nordheim
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes