Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-15877

Race condition in OSK startup mutex

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 0.4.12
    • Applications
    • None

    Description

      OSK uses the "osk" mutex to ensure it is only started once. However the mutex is not created atomically, so it is possible for two instances to fail OpenMutex and reach the CreateMutex code path.
      Instead, a single CreateMutex call should be used and its last error code checked to see whether the mutex previously existed.

      Attachments

        Activity

          People

            hbelusca hbelusca
            ThFabba ThFabba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: