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

Leak of empty string in _obtain_creds_from_ecs

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.17.0
    • Affects Version/s: 1.17.0-beta
    • Component/s: 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@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: