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

Data race condition in HunspellWorker due to the abort variable

    XMLWordPrintable

Details

    • 9db37be7210d4071c8b2c7bfa98d1822075ab452

    Description

      It is possible that two threads can access the "abort" member variable in HunspellWorker at the same time, as reported by Intel Inspector 2016.

      In the reported case:

      • Thread_1 executes "void HunspellWorker::run()"
      • Thread_2 executes "HunspellWorker::~HunspellWorker()"

      As "abort" is of type bool, an unprotected access to a shared variable occurs.

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes