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

Data race condition in HunspellWorker due to the abort variable

XMLWordPrintable

    • 9db37be7210d4071c8b2c7bfa98d1822075ab452

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes