bugzilla-daemon at bugzilla.mindrot.org
2007-Oct-22 17:53 UTC
[Bug 1379] New: memory leak in process_cmdline()
https://bugzilla.mindrot.org/show_bug.cgi?id=1379
Summary: memory leak in process_cmdline()
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: ssh
AssignedTo: bitbucket at mindrot.org
ReportedBy: Jan.Pechanec at Sun.COM
Created an attachment (id=1366)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1366)
fix for the bug
if anything goes wrong and Fwd was filled then listen_host/connect_host
are not freed.
patch attached.
--
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
2007-Oct-23 14:32 UTC
[Bug 1379] memory leak in process_cmdline()
https://bugzilla.mindrot.org/show_bug.cgi?id=1379
Jan Pechanec <Jan.Pechanec at Sun.COM> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1366 is|0 |1
obsolete| |
--- Comment #1 from Jan Pechanec <Jan.Pechanec at Sun.COM> 2007-10-24
00:32:23 ---
Created an attachment (id=1369)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1369)
fixed version of the patch. The previous one wasn't complete.
in the first patch, I forgot to memset() local 'fwd' variable before
checking listen_host and connect_host for non-NULL value.
--
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
2007-Nov-03 00:39 UTC
[Bug 1379] memory leak in process_cmdline()
https://bugzilla.mindrot.org/show_bug.cgi?id=1379
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
CC| |djm at mindrot.org
Blocks| |1353
--- Comment #2 from Damien Miller <djm at mindrot.org> 2007-11-03
11:39:43 ---
fix applied - thanks
--
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
2008-Mar-31 04:22 UTC
[Bug 1379] memory leak in process_cmdline()
https://bugzilla.mindrot.org/show_bug.cgi?id=1379
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> 2008-03-31
15:22:11 ---
Fix shipped in 4.9/4.9p1 release.
--
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.
Reasonably Related Threads
- [Bug 1380] New: incorrect check for strlen(fwd->connect_host) in parse_forward()
- [PATCH/RFC 0/6] New mux client request to list open tcp forwardings.
- ssh(1) multiplexing rewrite
- FWD: enable forwarding to remote named sockets in ssh
- [Bug 1539] New: double-free when failing to parse a forwarding specification given using ~C