Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-420

c driver calls rand()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.2
    • Affects Version/s: 1.0.0
    • Component/s: None
    • None

      The c driver calls rand() from mongoc-cluster.c and mongoc-client.c Neither of these objects are globally unique and locked, so we're racing. Switch to rand_r

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: