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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • 3.0.0-rc0
    • None
    • None

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: