ProgramRegistry::_handles access isn't thread safe

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc3
    • Affects Version/s: 3.2.0-rc2
    • Component/s: Shell
    • None
    • Fully Compatible
    • Windows
    • Platform C (11/20/15)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is one global program registry in the shell for managing processes. That registry has a mutex, and uses it to protect it's internal lookup tables against concurrent access.

      On windows, it additionally has a map from pid to HANDLE, but offers this as a public member and makes no effort to ensure thread safe access. We need to bury access to that type behind methods and use the registry mutex to guard _handle inside.

            Assignee:
            Mira Carey
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: