[Bug 2052] New: Memory leak when SSH login and logout

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Dec 18 02:06:12 EST 2012


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

            Bug ID: 2052
           Summary: Memory leak when SSH login and logout
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 6.1p1
          Hardware: MIPS
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: vijay.m at aricent.com

Created attachment 2200
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2200&action=edit
Memory allocation and deallocation information

We are using openSSH version release-5.1.
When we do ssh login and logout we notice memory leak, we noticed this
memory leak in the following functions.

1, match_list (from Line no 287) function allocated memory using
xstrdup call and this was not freeed.

2, In function input_userauth_request(from line no 299) we allocate
memory using xstrdup call and this was not freeed.

3, In Function list_hostkey_types (from line no 825) we allocate memory
using xstrdup call and this was not freeed.

4, In function kex_setup (line no : 246) we allocate memory using
buffer_init call and this was not freeed.

5, In Function channel_new (line no :332) allocate memory using xstrdup
call and this was not freeed.

6, In function channel_new (line no:317) we allocate memory using
buffer_init call and this was not freeed.

If this issue was fixed in the later release, can you please help us
with the patch.
I am attaching the logs for you reference.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list