Coverity analysis defect 162252: Unchecked return value from library

XMLWordPrintableJSON

    • Networking & Observability
    • Fully Compatible
    • ALL
    • N&O 2025-08-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Unchecked return value from library

      The function returns a value that indicates an error condition. If this is not checked, the error condition may not be handled correctly. Value returned from a library function is not checked for errors before being used. This value may indicate an error condition.
      /data/mci/4197827dfd19dfe79142f7d25f6e6f0f/bazel_cache/a1dc365b351479c659b51fd1e7d5df0a/execroot/_main/src/mongo/util/net/http_client_curl.cpp:752: CHECKED_RETURN 162252 Calling "curl_easy_setopt(handle, CURLOPT_READFUNCTION, ReadMemoryCallback)" without checking return value. This library function may fail and return an error code.

            Assignee:
            David Goffredo
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: