bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-23 12:55 UTC
[Bug 1849] New: Memory Leak in authmethod_get
https://bugzilla.mindrot.org/show_bug.cgi?id=1849
Summary: Memory Leak in authmethod_get
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: djgosselin at gmail.com
Created attachment 1982
--> https://bugzilla.mindrot.org/attachment.cgi?id=1982
SSH Memory Leak Patch
Code inspection revealed a memory leak in the authmethod_get function.
authmethod_get calls the function match_list which in turn creates a
string on the heap and returns it to authmethod_get. authmethod_get
does not free the returned buffer containing the string once it has
finished with it (leaving the string on the heap). The attached patch
fixes this memory leak.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-23 16:40 UTC
[Bug 1849] Memory Leak in authmethod_get
https://bugzilla.mindrot.org/show_bug.cgi?id=1849
David Gosselin <djgosselin at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1982|application/octet-stream |text/plain
mime type| |
Attachment #1982|0 |1
is patch| |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-06 01:15 UTC
[Bug 1849] Memory Leak in authmethod_get
https://bugzilla.mindrot.org/show_bug.cgi?id=1849
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
Blocks| |1845
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2011-05-06
11:15:34 EST ---
Seems reasonable (minor style nit: xfree should be on another line,
indented. will fix before committing).
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-06 01:15 UTC
[Bug 1849] Memory Leak in authmethod_get
https://bugzilla.mindrot.org/show_bug.cgi?id=1849
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1982| |ok?(djm at mindrot.org)
Flags| |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-06 02:06 UTC
[Bug 1849] Memory Leak in authmethod_get
https://bugzilla.mindrot.org/show_bug.cgi?id=1849
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Damien Miller <djm at mindrot.org> 2011-05-06 12:06:01
EST ---
patch applied - thanks. This will be in OpenSSH 5.9
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 05:33 UTC
[Bug 1849] Memory Leak in authmethod_get
https://bugzilla.mindrot.org/show_bug.cgi?id=1849
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> 2011-09-06 15:33:11
EST ---
close resolved bugs now that openssh-5.9 has been released
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.