[Bug 1111] memory leak in openbsd-compat/getrrsetbyname.c, function: getrrsetbyname

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Nov 4 18:02:54 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1111

           Summary: memory leak in openbsd-compat/getrrsetbyname.c,
                    function: getrrsetbyname
           Product: Portable OpenSSH
           Version: 4.2p1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: kremenek at cs.stanford.edu


In the function getrrsetbyname...

memory allocated by the call to parse_dns_response (which calls calloc):

        /* parse result */
        response = parse_dns_response(answer, length);

... appears to be leaked on all paths in this function.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list