bugzilla-daemon at mindrot.org
2013-Dec-10  14:23 UTC
[Bug 2182] New: getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
            Bug ID: 2182
           Summary: getopt(3) command-line arguments memleaks
           Product: Portable OpenSSH
           Version: 6.4p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: tcunha at gmx.com
Created attachment 2386
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2386&action=edit
Plug getopt(3) command-line arguments memleaks
Some options, when used more than once, are currently leaking memory.
For instance:
    $ ssh -Elog1 -Elog2 -carcfour -caes128-ctr
I've decided to remove the xstrdup call and used a simple assignment to
optarg when specifying a log file, instead of freeing it previously,
since it's only used once in log_redirect_stderr_to.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Dec-10  14:27 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Tiago Cunha <tcunha at gmx.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ssh                         |Miscellaneous
--- Comment #1 from Tiago Cunha <tcunha at gmx.com> ---
I'll just use the Miscellaneous component instead of creating a
specific bug to address the same memory leaks in the daemon. Hope
that's alright.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Dec-10  14:28 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Tiago Cunha <tcunha at gmx.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2386|0                           |1
        is obsolete|                            |
--- Comment #2 from Tiago Cunha <tcunha at gmx.com> ---
Created attachment 2387
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2387&action=edit
Plug getopt(3) command-line arguments memleaks
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Jun-05  04:18 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2403
             Status|NEW                         |ASSIGNED
                 CC|                            |dtucker at zip.com.au
           Assignee|unassigned-bugs at mindrot.org |dtucker at zip.com.au
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
Add to the list for 7.0
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Aug-11  12:59 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2443
--- Comment #4 from Damien Miller <djm at mindrot.org> ---
Retarget pending bugs to openssh-7.1
-- 
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 mindrot.org
2015-Aug-11  13:00 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2403                        |
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Aug-21  10:56 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2451
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2451
[Bug 2451] Bugs intended to be fixed in 7.2
-- 
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
2015-Aug-21  10:58 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2443                        |
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2443
[Bug 2443] Bugs intended to be fixed for OpenSSH 7.1
-- 
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
2015-Sep-04  08:22 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
--- Comment #5 from Darren Tucker <dtucker at zip.com.au> ---
Patch has been applied and will be in 7.2.  Thanks!
-- 
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
2016-Aug-02  00:41 UTC
[Bug 2182] getopt(3) command-line arguments memleaks
https://bugzilla.mindrot.org/show_bug.cgi?id=2182
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #6 from Damien Miller <djm at mindrot.org> ---
Close all resolved bugs after 7.3p1 release
-- 
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.