Leak of empty string in _obtain_creds_from_ecs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.17.0
    • Affects Version/s: 1.17.0-beta
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Introduced in CDRIVER-3423 in this commit:
      https://github.com/mongodb/mongo-c-driver/commit/535e9091f399fbea2cacab490b93fbed48c328be#diff-3d3e42655bbb89f4b06256d8b8480e3eR369

      If the environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is set, but is the empty string, this function leaks that empty string.

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: