Bugzilla – Attachment 301 Details for
Bug 529
sshd doesn't work correctly after SIGHUP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for commanline options
openssh-3.6.1p2-vs-openbsd.diff.diff (text/plain), 793 bytes, created by
Petr Ostadal
on 2003-05-15 21:19:04 AEST
(
hide
)
Description:
Patch for commanline options
Filename:
MIME Type:
Creator:
Petr Ostadal
Created:
2003-05-15 21:19:04 AEST
Size:
793 bytes
patch
obsolete
>--- openssh-3.6.1p2-vs-openbsd.diff.orig 2003-05-15 12:30:27.000000000 +0200 >+++ openssh-3.6.1p2-vs-openbsd.diff 2003-05-15 12:56:51.000000000 +0200 >@@ -35955,7 +35955,7 @@ > /* File descriptor passing is broken or root login */ > monitor_apply_keystate(pmonitor); > use_privsep = 0; >-@@ -804,8 +821,23 @@ >+@@ -804,8 +821,24 @@ > Key *key; > int ret, key_used = 0; > >@@ -35969,9 +35969,10 @@ > + /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */ > + saved_argc = ac; > saved_argv = av; >-+ saved_argv = xmalloc(sizeof(*saved_argv) * ac); >++ saved_argv = xmalloc(sizeof(*saved_argv) * ac + 1); > + for (i = 0; i < ac; i++) > + saved_argv[i] = xstrdup(av[i]); >++ saved_argv[ac] = NULL; > + > +#ifndef HAVE_SETPROCTITLE > + /* Prepare for later setproctitle emulation */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 529
:
301
|
552