https://bugzilla.mindrot.org/show_bug.cgi?id=2003

             Bug #: 2003
           Summary: [mux.c] fix memory leaks when new session message is
                    malformed
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 6.0p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: ssh
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 2148
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2148
Patch fixing memory leak

The malf: exception block is also used when extracting the environments
for the new session, therefor we need also to free those if it fails.

Also free the context object in two cleanup blocks.

I set the severity to critical because this could be used to DOS the
muxserver by leaking memory in them.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to