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

Use safer alternative to strncpy when available (not just on MSVC)

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.16.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • Labels:

      bson_strncpy uses the safer strncpy_s if compiling on Windows, and strncpy otherwise. We should use strncpy_s wherever it is available.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: