7.0 -- Coverity analysis defect 170167: Data race condition

XMLWordPrintableJSON

    • Server Security
    • ALL
    • Security 2025-03-31, Server Security 2025-04-14, Server Security 2025-04-28, Server Security 2025-05-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Data race condition

      The value of the shared data will be determined by the interleaving of thread execution. Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
      /src/mongo/db/auth/user_acquisition_stats.h:102: MISSING_LOCK 170167 Accessing "this->_ldapOperationStats" without holding lock "mongo::UserAcquisitionStats._mutex". Elsewhere, "mongo::UserAcquisitionStats._ldapOperationStats" is written to with "UserAcquisitionStats._mutex" held 9 out of 10 times.

            Assignee:
            Erwin Pe
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: