Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1201

getaddrinfo resource leak

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.9.3
    • Component/s: C++ - Library
    • Labels:
      None

      Description

      TServerSocket::listen() calls getaddrinfo(). There are several ways exceptions can happen before freeaddrinfo() is called thus leaking the getaddrinfo result.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              craig@zhatt.com Craig Robson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment