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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 0.6.1
    • 0.9.3
    • C++ - Library
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jking3 James E. King III
            craig@zhatt.com Craig Robson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment