Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-827

uri constructor calls .data() on a string_view and passes to libmongoc

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: 3.0.0-rc0
    • Component/s: None
    • None

      This is an unsafe operation, since a string_view is not guaranteed to be null terminated.

            Assignee:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: