Displaying 1 result from an estimated 1 matches for "agrumend".
Did you mean:
agrument
2003 Apr 02
0
[Bug 529] sshd doesn't work correctly after SIGHUP
...+ saved_argv[i] = xstrdup(av[i]);
+
+#ifndef HAVE_SETPROCTITLE
-------------------
If sshd uses to reload service after receive SIGHUP, it use execve to start sshd
with same parameters, which are save in saved_argv (note: it is missing in older
release, which caused problems, if some agrumends was passed to sshd throught
command line).,
therefore saved_argv must be terminated by a NULL pointer!
Fixed version:
saved_argv = xmalloc(sizeof(*saved_argv) * (ac + 1));
^^^^^^^
for (i = 0; i < ac; i++)
saved_...