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

Copy strings referred by mongoc_ssl_opts_t

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: libmongoc, tls
    • Labels:

      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.

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

              Created:
              Updated:
              Resolved: