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

Leak of empty string in _obtain_creds_from_ecs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.17.0
    • 1.17.0-beta
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: