Created attachment 2386 [details] 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.
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.
Created attachment 2387 [details] Plug getopt(3) command-line arguments memleaks
Add to the list for 7.0
Retarget pending bugs to openssh-7.1
Patch has been applied and will be in 7.2. Thanks!
Close all resolved bugs after 7.3p1 release