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

c driver calls rand()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.0.2
    • 1.0.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: