Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7325

Workflow Plugin subject to data corruption in race condition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • production
    • Gerrit
    • None
    • 9d2ada120 (v3.10-based)

      QtStage and QtUnStage are subject to data corruption via a race condition if two events arrive in quick succession before the full operation can be completed. This is a critical vulnerability, as the result of two requests being processed by the singleton class at the same time is undefined behavior.

      This can be solved either by removing the singleton decorator of the class or by moving class variables inside the relevant functions. The former is less predictable, as the reason for the class being a singleton is not well understood, and the latter solution is easy to implement.

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

            daniel.smith Daniel Smith
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes