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

File descriptor leak

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.2
    • None
    • None
    • None
    • All

    Description

      In mongo_connect_helper(), there is a file descriptor leak when connect() fails.
      This already fixed in a pull request: https://github.com/workless/mongo-c-driver/commit/3d75594ed16cb6f922bf28674b8597ef515bc357
      Please apply this patch (or at least the line that closes the socket).

      Attachments

        Activity

          People

            kbanker Kyle Banker
            nicks nicks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: