Displaying 2 results from an estimated 2 matches for "want_subsys".
2010 Jan 14
1
ssh(1) multiplexing rewrite
...clude "ssh.h"
@@ -77,13 +78,14 @@ extern int stdin_null_flag;
extern char *host;
extern int subsystem_flag;
extern Buffer command;
+extern volatile sig_atomic_t quit_pending;
/* Context for session open confirmation callback */
struct mux_session_confirm_ctx {
- int want_tty;
- int want_subsys;
- int want_x_fwd;
- int want_agent_fwd;
+ u_int want_tty;
+ u_int want_subsys;
+ u_int want_x_fwd;
+ u_int want_agent_fwd;
Buffer cmd;
char *term;
struct termios tio;
@@ -102,268 +104,234 @@ static volatile sig_atomic_t muxclient_t
/* PID of multiplex server */
static u_int muxserver_pid =...
2006 May 15
0
[PATCH 1/12] bug fix: openssh-4.3p2 memory leak
...enssh-4.3p2/clientloop.c 2005-12-30 23:22:32.000000000 -0600
+++ openssh-4.3p2-kylie/clientloop.c 2006-05-04 10:36:49.000000000 -0500
@@ -833,6 +833,8 @@ client_process_control(fd_set * readset)
debug2("%s: accepted tty %d, subsys %d, cmd %s", __func__,
cctx->want_tty, cctx->want_subsys, cmd);
+ xfree(cmd);
+
/* Gather fds from client */
new_fd[0] = mm_receive_fd(client_fd);
new_fd[1] = mm_receive_fd(client_fd);