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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Server Security
    • 156

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-security Backlog - Security Team
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: