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

Copy strings referred by mongoc_ssl_opts_t

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • None
    • libmongoc, tls

    Description

      As reported by acm here:

      https://github.com/mongodb/mongo-cxx-driver/pull/490

      ... it's surprising and dangerous that mongoc_client_set_ssl_opts and mongoc_client_pool_set_ssl_opts copy only the options struct, and not also the strings to which it refers.

      Attachments

        Activity

          People

            ian.boros@mongodb.com Ian Boros
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: