Copy strings referred by mongoc_ssl_opts_t

XMLWordPrintableJSON

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

      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
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: