Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77100

Replace lock in src/mongo/rpc/metadata/impersonated_user_metadata.cpp with Client Lock

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Security
    • 156

      To fix BF-24031, we added a usage of synchronized_value. While a lock is needed to coordinate thread access, we can use the Client lock instead of allocating yet another lock to guard access.

      We should probably create a synchronized_value like class the requires client as a parameter to get the underlying type to ensure proper access.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: