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

Coverity analysis defect 133796: Remove excess duplicate call

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

      Double free

      Depending on the implementation of the deallocator function, the memory may by placed on the free list more than once. Memory is deallocated more than once
      /src/libmongoc/src/mongoc/mcd-azure.c:209: USE_AFTER_FREE 133796 Calling "_mongoc_http_response_cleanup" frees pointer "resp.body" which has already been freed.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: